Dec 6, 2006 #1 fluppeke Programmer Joined Aug 30, 2006 Messages 38 Location 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
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
Dec 6, 2006 1 #2 bborissov Programmer Joined May 3, 2005 Messages 5,167 Location BG 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 Upvote 0 Downvote
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
Dec 7, 2006 Thread starter #3 fluppeke Programmer Joined Aug 30, 2006 Messages 38 Location BE 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 Upvote 0 Downvote
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
Dec 7, 2006 #4 bborissov Programmer Joined May 3, 2005 Messages 5,167 Location BG It is old, because I knew it when I was on VFP6 Borislav Borissov VFP9 SP1, SQL Server 2000/2005. MVP VFP Upvote 0 Downvote
It is old, because I knew it when I was on VFP6 Borislav Borissov VFP9 SP1, SQL Server 2000/2005. MVP VFP