Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Positioning of Summary Band On a report
Message
De
27/04/2005 11:10:14
 
 
À
27/04/2005 04:43:26
Brian O'Donovan
Crescent Computers
Cork, Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01008756
Message ID:
01008881
Vues:
18
Hi Brian,

Solution I use goes like this;

1. Add report variable called 'report_end'
2. Add report expression to summary band of your report calling
folowing function ;
function end_of_report
    report_end=.t.
    return ''
return .t.
So report field placed in summary band should have this (call) as expression ;
end_of_report()
Since function returns '', nothing will show on the face of the report,
while desired variable will be set to .t. after last record.

3 Put invoice total in page footer and print only when that variable is .t.

clause printwhen :
report_end=.t.


Hope this helps
Rgds++
Sergio



>I am writing an invoice report for a client. I only want the sub total details ex. to print on the last page of the invoice. However if I use a summary band, the bacnd appears after the last line of the invoice rather that on the end of the last page of the invoice. If I put eh details in the footer, they print on every page of the invoice .Also I have lines and rectangles in the detail band of the invoice, and they over print the summary . Any ideas
>
>Brian O Donovan
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform