G
G Lam
Hi,
I wrote some VBA codes in a main form's (PackForm) AfterUpdate event to open
a Popup form. I set the popup form to Modal = yes, popup = yes. I had a OK
button in the popup form. What I want it to do is, once the pop form opens,
the user is able to chose a record and set a field value from that record to
the PackForm.
I think, after the Popup form opens, the AfterUpdate event should stop and
wait for the user to click the OK button and then the control goes back to
the AfterUpdate event. But that is not the case. The AfterUpdate event keeps
on going and does not wait for the user to click OK after the Popup form
opens. How can I change this behavior?
Thank you,
Gary
I wrote some VBA codes in a main form's (PackForm) AfterUpdate event to open
a Popup form. I set the popup form to Modal = yes, popup = yes. I had a OK
button in the popup form. What I want it to do is, once the pop form opens,
the user is able to chose a record and set a field value from that record to
the PackForm.
I think, after the Popup form opens, the AfterUpdate event should stop and
wait for the user to click the OK button and then the control goes back to
the AfterUpdate event. But that is not the case. The AfterUpdate event keeps
on going and does not wait for the user to click OK after the Popup form
opens. How can I change this behavior?
Thank you,
Gary