Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Footer Page
Message
De
18/02/1997 20:05:07
 
 
À
17/02/1997 22:22:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00020682
Message ID:
00020985
Vues:
51
>>Yes, i know how i can add a summary section but when i put my information in that i can't formating one page for having the look of an invoice report because is not printed on the last line of the page. I show you a samples:
>
>I got it. Better late than never... :)
>
>There are several ways of doing it. The way I like:
>
>Make a function:
>
>
function LastRecord
>  private llReturn
>  skip
>  lIsLastRecord=eof()
>  skip -1
>return lIsLastRecord
>
>Where lIsLastRecord is a global variable (or report variable).
>
>Put in the page footer band a field with the expression:
>iif( LastRecord(), "", "")
>It will print nothing. Be sure it's the first field in the band (you can sent it to back if you need to print on the left-top corner of the band).
>
>Print all your fields/texts/boxes in the band with an iif( lIsLastRecord, YourExpression, "").
>
>Vlad

Thank you very much!

Eric Theoret
Winfly Informatique
http://www.cedep.com/~winfly
mailto:winfly@cedep.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform