P
phillip9
Hello everyone,
My parent form opens another form and pre-fills some text boxes, that part
works great. I then want to call a text-box_afterUpdate() event.
example:
frmMain
cntButtonNewCorrespondence_onClick()
'opens a child form to allow data entry
docmd.openform "frmNewCorrespondence"
' code pre-fills a lot of text fields
forms!frmNewCorrespondence.controls.txtID = "best user"
' want to run the txtID_afterUpdate() event
< want to run frmNewCorrespondence.controls.txtID_afterUpdate() >
end sub
frmNewCorrespondence.txtID_afterUpdate()
....
'lots of processing code
end sub
My parent form opens another form and pre-fills some text boxes, that part
works great. I then want to call a text-box_afterUpdate() event.
example:
frmMain
cntButtonNewCorrespondence_onClick()
'opens a child form to allow data entry
docmd.openform "frmNewCorrespondence"
' code pre-fills a lot of text fields
forms!frmNewCorrespondence.controls.txtID = "best user"
' want to run the txtID_afterUpdate() event
< want to run frmNewCorrespondence.controls.txtID_afterUpdate() >
end sub
frmNewCorrespondence.txtID_afterUpdate()
....
'lots of processing code
end sub