There are two additional text boxes on the form(dialog box)prompting for start and end dates. Quite often the report will return no records for the search, but when it does the report and page header appear along with #error where the count should be.
The expression to count the records is on the report in a text box, =Count(*) together with leading and trailing text.
Management require a nill report to be produced if there are no records.
One more thing! The ProjectNo have to be a bound textbox in the report else you can't access it with the IsNull function. If you don't want to show the value you can hide the textbox (Visible = False).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.