This works to get the value of a field at an event (say a button click):
Sub runatevent(Event as Object)
dim form as Object
dim cntrl
form = Event.Source.Model.Parent
cntrl = form.getByName("txtpath").currentvalue
print(cntrl)
End Sub
However when I try to fire this on the Form's "After Record Change" event, I get an error: "property or method not found: Model"
How do I get the value of "txtpath" on the "After Record Change" Form event?