Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-page Report
Message
From
19/08/1998 11:41:43
 
 
To
19/08/1998 11:36:53
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00128150
Message ID:
00128153
Views:
22
>I have a report that deals with a single record. I want it to be a two page report, but _I_ want to say where the page break is. A few questions:
>
>Is there a better way to handle a report that is a single record report (and pre-processed data in memvars) ?
>
>How can I force a Page break?
>
>Any way I can control the print driver in code (I want to select duplexing, if it is an option) ?

You may force page break by populating 2-record cursor from initial one record.
CREATE CURSOR tmp (...)
INSERT INTO CURSOR tmp (grouping,field1...) VALUES(1,table1.fieldA..)
INSERT INTO CURSOR tmp (grouping,field1...) VALUES(2,table1.fieldB...)
Then you can group this cursor and select 'Start group with new page'.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform