Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page number 1

Status
Not open for further replies.

fluppeke

Programmer
Aug 30, 2006
38
BE
Hi Guys,

I have to make a report in vfp7 reporting with in the page footer : for example : page 7 of 12
I there a function like _pageno for this matter

wfg,

FILIP MERLIER
 
No in VFP7 you must upgrade to VFP8 or vfp9 to have it built.
If vfp7 you could do the old trick:
Code:
lnPageTotals = 0
REPORT FORM MyReport TO FILE testMe.txt NOCONSOLE NODIALOG
ERASE testMe.txt
lnPageTotals = _pageno
REPORT FORM MyReport ......
and in page footer put:
Code:
[page ]+TRANSFORM(_pageno)+[ / ]+TRANSFORM(lnPageTotals)

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
Hey Borislav,

What for you may like as the OLD trick, was pretty new for me
I give you a star from me


FILIP MERLIER
 
:)
It is old, because I knew it when I was on VFP6 :)

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top