itsmarkdavies
Registered User.
- Local time
- Today, 00:39
- Joined
- Jul 18, 2001
- Messages
- 14
Can anyone tell me the best way to cancel the previewing of a report if it has no data in it ?. I have tried DoCmd.CancelEvent, but this produces a "runtime error 2501" and a mesasge saying that "the OpenReport action has been cancelled". Any help greatly appreciated. Thanks.