'Assumes this is fired by the onOK event of an editform Dim theEditForm Set theEditForm = ThisEvent.Object 'gets a reference to the edit form. theEditForm.Pages("pagename").controls("control_one").value = theEditForm.Fields("field_name").value 'So, for example, you could now concatenate the values of a couple of fields, and write them to a combo or edit box as you see fit. Dim temp temp = theEditForm.Fields("field_name_one").value & " " & theEditForm.Fields("field_name_two").value theEditForm.Pages("pagename").controls("control_one").value = temp 'or theEditForm.Fields("other field name").value = temp
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.