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

Click here to load this message in the networking platform