jim may
Well-known Member
- Joined
- Jul 4, 2004
- Messages
- 7,486
I've got a form used primarily for 3 parameter inputs (1 text; 2 dates). I have a button thereon which Previews a Report based on the query being produced. The code under the Print-Preview button references an Embedded Macro to Open Report. Currently, I want to provide error-handling "IF" any one the 3 input fields is blank and or 2, or 3 fields ARE NOT Dates (as they should be). Should I, or better do I need to - change from the use of an Embedded Macro to Code for this? I see that in the Macro Window there is a provision for "On Error", but I do not understand how it works. If I went with code instead what would that code look like?
Thanks, Jim
Thanks, Jim