Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a long report
Message
De
27/10/2010 14:13:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01486999
Message ID:
01487212
Vues:
49
>>hi all,
>>I have aneed to have a long report, it will run over 2-3 pages so I can't use the page header and footer, also the detail is out as it will repeat fields, everything I do makes the page too long and I crash out of the application. any ideas?
>>~M
>
>Use technique by Cathy Pountney: create a group based on recno() and put half of the fields in the group header/footer. This way you get 'extra' band to put the info.

Yup. This works pretty nicely. I've got a few reports where the detail area could span anywhere near 1/2 page to 4~5 pages in length depending on which elements print (I've grouped the elements into separate grouping bands that effectively act as separate detail bands -- I conditionally print the elements along with "remove line if blank" so that items that aren't printed result in blank areas). One report has around 27 groups (I'm only using the footer part and leaving the header blank -- mainly because reshuffling things within the bands to accomodate additional bands becomes tedious task -- aside from that it gives me the freedom to shuffle the order of some of the bands if required by simply shuffling the grouping levels).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform