jason_nevin
Registered User.
- Local time
- Today, 12:49
- Joined
- Nov 22, 2002
- Messages
- 46
I've developed a report which uses code to set the properties of a picture control in-flight. I use this method to display unbound jpegs. Occasionally a file name is incorrectly entered and when the report runs it fails because the file does not exist. When running the report in form view an error is displayed with a meaningful message. However, if the report is printed from VBA no error is displayed, the report simply stops. As you can appreciate this is a bit confusing for the end user. Is there a way of trapping and displaying the error when printing a report?