printing two or more reports

G

Guest

Hi,
is there any way I can print two or more reports in a row clicking one
button. Is there any way to obtain one preview of two or more reports (first
report, than second etc)
thanx

alek_mil
 
V

Van T. Dinh

Printing is easy: use 2 OpenReport statements one after another in the
CommandButton_Click Event Procedure code ...

Previewing is harder because if you use 2 OpenReport statements, it is like
that the second Report window will cover the first one ...

One possible work-around is to open the first Report for preview then on the
Report_Close Event of the first Report, open the second Report. You may
need to put a flag on the Form to indicate preview mode so that in the Close
Event of the first Report, check for this flag and if it is set to True,
open the second Report in preview mode. This is to prevent the opening of
the second Report in preview mode if you print both Reports like in the
forst paragraph.
 

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