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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
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.