Dim page, objForm, control objForm = ThisEvent.Object 'This assumes you're firing this sub from a form-level onload event, you could also just get a direct 'reference or leave the form-level out of it and just use the page-level stuff if you want to do it on a 'per-page basis For each page in objForm.Pages page.Activate For each control in page.Controls If control.Type = "COMBOBOX" Then control.Clear control.value = "" ElseIf control.Type = "EDIT" Then control.value = "" End If Next Next
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.