My VFP 8 reports are doing some weird things with the page totals.
Sometimes the final page prints "Page 10 of 10" (correct)
Sometimes it's "Page 9 0f 10"
sometimes it's "page 10 of 11"
I don't have this in VFP6. Seems like VFP8 variable, not your own, right?
So what about 8 or 9 previous pages? What do you get on them? Is it correct? Did you check youn report in preview? Do you have an empty extra page or something to that effect?
The page numbers print fine up until the last page but it seems that XFRX (the software we are using to 'preview') cannot seem to understand the _pagetotal variable.
The _pageno is always correct but the _pagetotal is sometimes wrong.
It works ok when you print to a printer but not when you print to preview.
From my understanding (I am not a company programmer, I design peoples Invoices, delivery notes etc)
but in the click event of the 'Print Invoice' etc buttonms that we have in our program, the code calls the xfrx class that in turn opens adobe acrobat in order for our customers to be able to view their Invoices as PDF files and email them to their clients.
It is my opinion that the problem I am having is something to do with this. I can't be sure of course but I can't think of anything else that I personally can do to try to come up with a workaround.
You should have started with this, don't you think?
If you want to get help, you should begin with providing sufficient information about your problem, not get it dragged out of you piece by piece for several days in a row!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.