General information
Title:
ExitMacro from Form Field - Which Field was Active?
I'm trying to write some generic macros that can be called from several different form fields' exit events. What I'm trying to do is figure how out in the macro which form field was just exited.
Dim objFF As FormField
If Selection.FormFields.Count = 0 Then
MsgBox ("No fields.")
Else
For Each objFF In Selection.FormFields
MsgBox (objFF.Name + " is: " + objFF.Result)
Next
End If
The above appears to work for Checkboxes, reporting just the box exited. But for TextInput objects, Selection's FormFields collection has a count of 0 when you exit the box.
Is there some other way to know where I am in the form?
TIA,
Randy
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only