Re: Page Nos in Foxpro 5.0
From: Tanveer H. Malik (tanveerm_at_worldcall.net.pk)
Date: 01/16/05
- Next message: Alan_A: "RE: Problem creating Outlook 2003 object"
- Previous message: Bogdan Zamfir: "Re: VFP9 Product Key"
- In reply to: Stefan Wuebbe: "Re: Page Nos in Foxpro 5.0"
- Next in thread: Stefan Wuebbe: "Re: Page Nos in Foxpro 5.0"
- Reply: Stefan Wuebbe: "Re: Page Nos in Foxpro 5.0"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 16 Jan 2005 20:53:11 +0500
>> Can I know the total No. of Pages a Group (Report Writer) is going to consume.
Yes Dear but I want to be based on the Group, and actually I want to know how many pages this particular group is going to span.
"Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message news:uZWXuB7%23EHA.3368@TK2MSFTNGP10.phx.gbl...
> Since VFP8 you can use _pagetotal. In previous versions the only
> reliable approach was to run the report twice.
>>> quote:
> With acknowledgements to Shar Feldman and others
>
> lnLastPage = 0
> REPORT FORM MyReport TO FILE temp ASCII NOCONSOLE
> lnLastPage = _PAGENO
> ERASE temp.txt
> REPORT FORM MyReport TO PRINT NOCONSOLE
>
> Put this expression on the report where you want it
>
> "Page" _pageno "of" lnLastPage
>
> _pageno and lnLastPage are memvar objects , 'Page' and 'of' are titles on
> the
> report.
>
> good luck
>>> end quote
>
>
> hth
> -Stefan
>
> "Tanveer H. Malik" <tanveerm@worldcall.net.pk> schrieb im Newsbeitrag
> news:u69lWq5%23EHA.3472@TK2MSFTNGP14.phx.gbl...
>> Is there any method to overcome this problem in Foxpro 5.0 Report Writer.
>>
>> Can I know the total No. of Pages a Group (Report Writer) is going to consume.
>>
>> Want to set Page Nos like 1 of 2 in for the Particular Group.
>>
>> example is a JV Containing 100 odd different codes to be taken care, while the some
>> may only include only a few lines of them and need no more than a single page.
>> They have to be printed in ONE GO. (Client Requires)
>>
>> Need help ASAP.
>>
>> Thanks in advance
>>
>
- Next message: Alan_A: "RE: Problem creating Outlook 2003 object"
- Previous message: Bogdan Zamfir: "Re: VFP9 Product Key"
- In reply to: Stefan Wuebbe: "Re: Page Nos in Foxpro 5.0"
- Next in thread: Stefan Wuebbe: "Re: Page Nos in Foxpro 5.0"
- Reply: Stefan Wuebbe: "Re: Page Nos in Foxpro 5.0"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|