When I attempt to print a report, I get the same prompts used to create that report in the first place. In order to print it, I have to enter all the information again.
I am assuming the prompts are in the query, so when access run the reports is looks for the information. And when you print it, it looks again? What did you mean by it prompts when creating the report?
I guess I am just a little slow after the long week. Can you not close the report and print, print from the preview? Can you create a form to enter the prompt information and provide a button to show the report?
Thanks for your replies. Even if I try to do a print preview, I get the prompts. I could create a form to enter the prompt information and provide a button to show the report but it seems I should be able to just print it without getting the prompts.
The query is not that smart, everytime it runs it has to recalculate on the prompts. This is why if you have the values on a form, you can set the query to look at the form.
i.e. startDate endDate
If a little form came up asking for start date and end date and included a button to preview report and a button to print report. You could set the query to use
between forms!printRequest!startDate and forms!printRequest!endDate under dateReceived. Then the report would not prompt. Also you can set the prompts to a temp table so the system remembers. You are also able to validate any information before running the report. I just helped another user validate that the report had records before showing it, otherwise it provided a message box that the report had no data. Alot can be done here to make the user experience alot more enjoyable.
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.