I have a very simple database I wrote a few years ago that provides reports on data (mainly calculating sums & percents on those sums). When run, the reports open form-dialog boxes that prompt for criteria. The dialog boxes then become invisible & the query accesses the data in the invisible form & allows the report to run.
What is the easiest way to have the program display error messages when
1. The criteria entered is not found
2. The form/dialog box has an empty field
Right now, the computer has an automatically-generated action failed message and the macro halts. These are confusing to the user.
Thanks for any suggestions!
What is the easiest way to have the program display error messages when
1. The criteria entered is not found
2. The form/dialog box has an empty field
Right now, the computer has an automatically-generated action failed message and the macro halts. These are confusing to the user.
Thanks for any suggestions!