Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent the printer return paper and print anothe
Message
 
À
14/06/2002 11:25:45
Michale Chen
Shijiazhuang ZhiYuan Crop.
Shijiazhuang, Chine
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00668419
Message ID:
00668627
Vues:
30
Hi, Michale!

>>
Yes.I mean just like you means
<<

Ok - if you want to have two reports on one sheet of paper - what about the following idea:

- Create a mixed data structure for both reports (including all fields for report 1 and all fields for report 2.
- Append all records for report 1 (leave the fields for report 2 blank)!
- Append all records for report 2 (leave the fields for report 1 blank)!
- Note: you need an additional field to distinguish records for report1 from records for report 2, let's call this field "nReportNo" and fill it with "1" or "2")!
- Design the detail band for report 1 in the report designer.
- Add to all controls for the "Print When" clause the expression "nReportNo=1"
- Add all controls for report 2 to the same frx file and set "Print When" clause to "nReportNo=2"
- Now you have to play a little bit with group header stuff etc. in the same manner but that's not so complicate!
SeBaFlu
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform