Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print two reports - alternating between the two 1

Status
Not open for further replies.

jbehrne

Programmer
Dec 18, 2002
484
US
Hi all,

I've got two reports that I finished creating recently. One report is a correspondence letter to contacts in various departments that my organization deals with. The second report contains billing data for review by the same contact.

Here is the problem that I am facing. I need to print both reports - but alternating between the two for each contact.

So when my user press the print button both reports would print, but the corresondence report for that contact would print first and then the data verification report for the same contact would print, and then the correspondce report would print for the next contact and the data verification report for the same contact, etc..

Thus the reports should print like this:

Ex:

Jim - Correspondence report
Billing data verification report
Sara- Correspondence report
Billing data verification report
etc...

How can this be done? I'm stumped and did not find any info on the net... Any ideas would be greatly appreciated!

jbehrne

If at first you don't succeed, call in an airstrike. - Murphy's Laws of Combat Operations
 
I think the safest way would be to include billing as a subreport. Or even create a new report with correspondence as subreport one and billing as subreport two. It would be possible to use the PrintOut method, but there is a great danger of things going out of sequence.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top