Obtaining Number Of Pages in Crystal Report
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi Guys Does anybody know how i can obtain the number of pages from a crystal report (version 8.5) using VB 6 before i call the print function. My current code is:
Dim rep As Report Set rep = CreateReport("Report.rpt") rep.PrintOut False
The PrintOut property supports optional properties to specify pages from and to. Basically i want to specify these before calling printout as only the first 200 pages are printing even though there is 500 pages in the report. If i could get the number of pages i can call the printout method a few times passing it different page numbers each time. Thanks in Advance Keith