Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with _pageno
Message
From
06/11/2001 18:23:41
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00578137
Message ID:
00578292
Views:
29
>..snip..
>
>Hi Dragan,
>
>I tried putting code in the onexit of a group "_pageno = 0"..but that didn't seem to work. Maybe I can't put the code directly and must call a function?

It only evaluates an expression there, that's why it has to be a function, even if it has no use for the result at all. In your case, it probably evaluated to .f. (_pageno is zero before you start printing). Just make it an one-line function in a separate .prg file, make sure it's on the path, and put the call to it in the On Exit textbox.

back to same old

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

Click here to load this message in the networking platform