I have a very simple macro added to a control button which opens a parameter query.
The message box that opens asks the user to input some detail, all works well if the user inputs the detail and then clicks"OK". However if they dont enter any detail and press cancel I get the action failed message box with the error number 2950.
If I then click stop all macros I can exit the error message.
is there a way I can amend the macr so that if the user clicks cancel the message box closes without running the macro?
The message box that opens asks the user to input some detail, all works well if the user inputs the detail and then clicks"OK". However if they dont enter any detail and press cancel I get the action failed message box with the error number 2950.
If I then click stop all macros I can exit the error message.
is there a way I can amend the macr so that if the user clicks cancel the message box closes without running the macro?