Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Footer Page
Message
From
18/02/1997 20:05:07
Eric Theoret
Winfly Informatique
Terrebonne, Quebec, Canada
 
 
To
17/02/1997 22:22:53
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00020682
Message ID:
00020985
Views:
55
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform