Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page n of m from a program
Message
From
28/11/2003 12:41:32
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00854111
Message ID:
00854259
Views:
37
>>The text quoted from the help file seems to indicate that it would be sufficient to use _pagetotal in the report, even if you don't use it directly.
>>
>>In other words, you don't need to put your entire complicated expression (which might change eventually) into the report designer; it is probable enough to use a dummy report variable, like: DummyPageTotal = _pagetotal
>>
>>Provided this works at all, you must still touch each individual report, but you will not need to change it, if you later decide to change the expression.
>
>Yes, having a variable with the value to store _pagetotal will suffice, you don't have to use the variable.
>But we must still modify all reports, that is bad enough.
>Plus, what I don't like about the dummy is that in 4 years from now someone else will look at one report, and finding no use for the dummy will remove it, only to find out (right then, if he is a good tester, or after months, when the user decides to complain) that the page numbering is wrong for no apparent reason. I am still considering this though...

You can use a dummy field, with the expression left(" "+transform(_pagetotal),1). The good side of this is that a field (or a textbox, call it what you like) has a comment field, so whoever looks at it can be scared away with a good comment.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform