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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Batch of Invoices

Status
Not open for further replies.

mp001

Programmer
Oct 24, 2006
9
US
I am trying to print a batch of three invoices using the version of Crystal Reports that is bundled with Visual Studio .Net 2003. Each invoice will be printed on a separate sheet of 8.5" x 11" paper.

When the invoice I created is viewed in the report viewer, it shows all three invoices (all 3 records in the database).

Executing the following procedure results in printing the content of all three invoices on a single page:

Dim rep As New rep1
rep.PrintToPrinter(1, False, 0, 0)

What am I doing wrong?

Thanks,
Mark
 
Go into the report designer and group by the Invoice and in the group footer select new page after.

-k
 
Forcing a page break after the desired section solved the problem. Thanks, synapsevampire.

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top