Number of PAGES before the actual printing???

Post Reply
User avatar
toyet
Posts: 39
Joined: Thu Apr 05, 2007 12:52 am
Location: Philippines

Number of PAGES before the actual printing???

Post by toyet »

When using the TReport class, how do we know the total number of pages in a report before the actual printing? ::nPage is the current page printed, is there a ::nTotalPagesCount?
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Number of PAGES before the actual printing???

Post by Enrico Maria Giordano »

You can't. What you can do is to reload the EMFs and add the total number of pages to them. Too much work for me.

EMG
User avatar
toyet
Posts: 39
Joined: Thu Apr 05, 2007 12:52 am
Location: Philippines

Post by toyet »

Ok, Thanks Enrico.

Guess we have to use TDosPrn when we need the Total Number of pages.

Toyet
Post Reply