FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Number of PAGES before the actual printing???
Posts: 39
Joined: Thu Apr 05, 2007 12:52 AM
Number of PAGES before the actual printing???
Posted: Sun Feb 17, 2008 04:08 AM

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?

Thanks,

Toyet Amores

-----------------------------------------------------------------------

xHarbour/Fivewin/Harbour/BCC582/DBMS:Oracle/MySQL

-----------------------------------------------------------------------
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Number of PAGES before the actual printing???
Posted: Sun Feb 17, 2008 09:41 AM

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

Posts: 39
Joined: Thu Apr 05, 2007 12:52 AM
Number of PAGES before the actual printing???
Posted: Sun Feb 17, 2008 12:08 PM

Ok, Thanks Enrico.

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

Toyet

Thanks,

Toyet Amores

-----------------------------------------------------------------------

xHarbour/Fivewin/Harbour/BCC582/DBMS:Oracle/MySQL

-----------------------------------------------------------------------

Continue the discussion