| DatabaseLessons.com |
'Serving the Microsoft® Access |
|
|
Criteria for a Report - Part 1A common technique that I use is to create a form to ask for criteria for a report. One example would be a report that is used to show data for a particular time period. (article continues after sponsor spot) (p.s. see below for a technique to use on the report heading)
That's it. And, no VBA coding was required. (you may need to put some code behind the button that will verify the values in the various fields before starting the report, this would require VBA) Creating the Heading Since this report is for a particular time frame, we need to indicate that on the report.
Other tips related to this one are Query Parameters Part 1, Query Parameters Part 2, and Query Parameters Part 3 Further Ideas This method requires a separate form for each report, in order to customize the collection of the criteria. Part 2 of this article will look at a method of having a single form service many separate reports. It is a method that both I and my clients appreciate. In order to know when part 2 is complete, please either visit the What's New page frequently, or better yet, subscribe to our announcement service. Happy Coding |
|
|
© 2006, 2007 Richard W. Killey. All Rights Reserved. |