I have a form which contains data from several linked tables. The form is populated from a query based upon user supplied variable. I want to set up a command button which will permit the user to print a report which looks like the form. The reason for printing the report instead of the form is that there needs to be a page break at a certain place which can't be done with a form (as I understand it).
I seem to have it working; however, when I click the print button, the system is asking for the variable again. I have not closed the query so I think all of the data should be available for direct input into the report (based upon the same query). Once I input the variable again, it populates the report and I can print it.
Thoughts on what I'm doing wrong? Thanks.
I seem to have it working; however, when I click the print button, the system is asking for the variable again. I have not closed the query so I think all of the data should be available for direct input into the report (based upon the same query). Once I input the variable again, it populates the report and I can print it.
Thoughts on what I'm doing wrong? Thanks.