Re: Page Nos in Foxpro 5.0

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Tanveer H. Malik (tanveerm_at_worldcall.net.pk)
Date: 01/16/05


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
>>
>



Relevant Pages

  • Re: Report Writer
    ... If you are interested in a GUI implementation ... > about Re: Report Writer ...
    (comp.lang.cobol)
  • Re: Report Writer
    ... REPORT WRITER ... While the programmer may not be changing the procedure division he is ... is the perfect fit for all manner of things. ...
    (comp.lang.cobol)
  • Re: Page Nos in Foxpro 5.0
    ... >> Can I know the total No. of Pages a Group (Report Writer) is going to consume. ... > REPORT FORM MyReport TO FILE temp ASCII NOCONSOLE ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Report Writer
    ... about Re: Report Writer ... Ever report or change has ... r> Why are you spending your time rewriting reporting programs? ... because its all in the DATA DIVISION. ...
    (comp.lang.cobol)
  • Re: Adding color to reports
    ... functional and flexible report writer - use Crystal Reports. ...
    (microsoft.public.fox.vfp.reports.printing)