iknowkungfu
Registered User.
- Local time
- Today, 23:13
- Joined
- Jan 17, 2006
- Messages
- 24
How can I check from VBA whether a query I have created has no current record?
I'm trying to prevent my code from opening a form based on this (crosstab) query if it is empty like this. I have tried using the Report_Error event and also GoTo Err technique inside the report (On NoData event doesn't work either) and in the calling code, but they don't seem to work. I would rather be able to tell that it is blank in my calling function so that I can handle it more cleanly.
Thanks
I'm trying to prevent my code from opening a form based on this (crosstab) query if it is empty like this. I have tried using the Report_Error event and also GoTo Err technique inside the report (On NoData event doesn't work either) and in the calling code, but they don't seem to work. I would rather be able to tell that it is blank in my calling function so that I can handle it more cleanly.
Thanks