Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-page Report
Message
De
19/08/1998 11:41:43
 
 
À
19/08/1998 11:36:53
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00128150
Message ID:
00128153
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform