gerard1979
MIS
I have a report:
In the report_open event I have code to open a form
In this form I build the query needed to print the report
(set users, dates and so on)
after closing the form the report is build in preview,
in which event I can set the docmd.printout and docmd.close acreport, "rptName" to print the document programmatically and not by userinteraction
In the report_open event I have code to open a form
In this form I build the query needed to print the report
(set users, dates and so on)
after closing the form the report is build in preview,
in which event I can set the docmd.printout and docmd.close acreport, "rptName" to print the document programmatically and not by userinteraction