crystal reports c# totalpagecount
Posted on 2004-03-24
I have a c# application that interfaces with various crystal reports
I need to be able to get the total page count of a crystal report.
I cannot seek to the last page because the table that the report is reading from is 500,000+ records
I am not accessing the crystal reports viewer just the report document.
My intentions are to print the entire report (40,000 + pages)
I would like to burst the report into 1000 page increments and then send the print jobs to different printers
(I will alternate between 2 printers).
I have already written code to burst the report based on different fields in the report but I do not kow how to get the number of pages. So I can stop the printer job. When I need to.
Any help would be appreciated.