AccessDiscussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
I am developing a database application using MS Access 2000 for a local charity. Having not used Access 2000 for quite a while my skill set is a little rusty, so I am hoping somebody will take pity on me with the following technical enquiry.
I have produced several reports that produced output based on several parameter queries. My problem is if a user inputs data that cannot be found a blank report is produced and some data values are stated as NULL values. How can I stop a report being produced when no related records can be found?
There are a number of ways, one is too use the onNoData event (I think it's called that, I don't have Access on this machine, it might be something similar) in the report to give a message to the user and cancel the report.