This is my situation:
I have a Pop-Up Form open on top of the main Clients Form. I want to push a button on the pop-up, which closes it and calls a procedure on the Clients Main Form. I've declared the procedure Public Sub in the Clients Main Form code and have included the following line in the Unload event of the pop-up:
Call Forms!Clients!cmdCancel1_Click
Why isnt this working? I keep getting a compile error highlighting the '!' character after 'Forms'. Have tried changing it but still no joy.
I have a Pop-Up Form open on top of the main Clients Form. I want to push a button on the pop-up, which closes it and calls a procedure on the Clients Main Form. I've declared the procedure Public Sub in the Clients Main Form code and have included the following line in the Unload event of the pop-up:
Call Forms!Clients!cmdCancel1_Click
Why isnt this working? I keep getting a compile error highlighting the '!' character after 'Forms'. Have tried changing it but still no joy.