Is there any way of ascertaining the # of pages which were just printed a report from VB? In other words
DoCmd.OpenReport "ReportName", acNormal
On the next line I need to know how many pages just printed.
Why you ask? I am doing a mailing and I need to figure out the weight of each package. Each customer has different data printed in their reports and I need to find out the total weight so I can put the proper postage on the envelope. This is all run in a big VB loop. I can do a guestomate by getting the number of records on each report and div. by 50 ignoring page breaks, report breaks, etc.
Thanks,
Remember when... everything worked and there was a reason for it?
DoCmd.OpenReport "ReportName", acNormal
On the next line I need to know how many pages just printed.
Why you ask? I am doing a mailing and I need to figure out the weight of each package. Each customer has different data printed in their reports and I need to find out the total weight so I can put the proper postage on the envelope. This is all run in a big VB loop. I can do a guestomate by getting the number of records on each report and div. by 50 ignoring page breaks, report breaks, etc.
Thanks,
Remember when... everything worked and there was a reason for it?