Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Feed
Message
From
29/11/2002 15:57:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
29/11/2002 13:42:53
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00728222
Message ID:
00728248
Views:
21
>I am designing a report that needs to send a form feed based on very specific conditions that cannot be handled by the group or page headers. EJECT and EJECT PAGE do not work. Is there another way to do it, such as an ASCII code ( like CHR(13) does a carriage return )?

The code was always chr(12), but it doesn't necessarily mean today's printers will obey it. Also, such a forced eject is something VFP's report engine would not notice, and the next page would, most probably, have no header.

What you can do is to insert a fake group on a report variable, and have that group always start on a new page. Set the variable to any value, and select to calculate nothing. Then from some function that you call (from a field, from a GroupHeader expression or wherever), change the value of this variable.

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