C
CW
I have made a popup that displays the various contact persons at each
customer, fired by a button on the main customer form. So far so good.
I want it to close automatically when the customer form itself is closed -
at the moment it stays open and has to be closed separately using its own
close button.
The customer form has a close command button so presumably I can embed some
code in that event to handle this? The event already includes "DoCmd.Close"
so should I add something immediately after that? And if the popup form is
called CustomerContacts, what would the syntax be? (By the way it's not a
subform, just a popup).
Many thanks
CW
customer, fired by a button on the main customer form. So far so good.
I want it to close automatically when the customer form itself is closed -
at the moment it stays open and has to be closed separately using its own
close button.
The customer form has a close command button so presumably I can embed some
code in that event to handle this? The event already includes "DoCmd.Close"
so should I add something immediately after that? And if the popup form is
called CustomerContacts, what would the syntax be? (By the way it's not a
subform, just a popup).
Many thanks
CW