Print two report at a time

C

CAM

Hello,

I am using ms access 2003 and I want to print two different reports via a
command button.
The first report is called "Summary" and the second report is called
"Detail"

Cheers
 
G

geoleo68

This is very easy and there are two ways to do it.

1) Create a Macro named mcPrintDetSum in there put an OpenReport command for
each report you want in the order you want it printed out.
Have the button_click sub run a DoCmd.RunMacro mcPrintDetSum

2) Don't create the Macro, simply type in the cmdbutton_click sub
DoCmd.OpenReport "Details"
DoCmd.OpenReport "Summary"
Place them in the order you want them to be printed out.

You can also create filters and additional where clauses from each instance.

geoleo68
 
C

CAM

Thanks for the tip.

geoleo68 said:
This is very easy and there are two ways to do it.

1) Create a Macro named mcPrintDetSum in there put an OpenReport command
for
each report you want in the order you want it printed out.
Have the button_click sub run a DoCmd.RunMacro mcPrintDetSum

2) Don't create the Macro, simply type in the cmdbutton_click sub
DoCmd.OpenReport "Details"
DoCmd.OpenReport "Summary"
Place them in the order you want them to be printed out.

You can also create filters and additional where clauses from each
instance.

geoleo68
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top