Aaron,I can't tell from your posting if you have two separate script files. Have you tried using a global variable Application.UserProperties("Variablename") that you define in the first script? Set the value in the child form and you should be able to read it when the child attachment form closes. In one script, I have defined:Application.UserProperties("SRLayerName") = "SRLayerName"In another script, I use that variable:If LCaseCompare(Application.Map.SelectionLayer.Name, Application.UserProperties("SRLayerName")) Then g_ServiceReqTreatment = TrueEnd IfThis will also work if both forms are in one script-- just define the variable as global.Is there a reason why you don't want to get the data from the record for the child feature? Can you query the child feature based on the ID?Hope this helps.Chris
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.