Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing footer
Message
From
17/03/2001 17:30:51
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
16/03/2001 21:11:00
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00485167
Message ID:
00486240
Views:
10
>>>>Try a page footer with Print When _PAGENO <> 1 for the item which should not show on page 1.
>>>
>>>You meant that I put both the information in the page footer, but when the file is EOF() they will be printed at the bottom of the page, not like the group footer they always print after the last record if EOF(). Any more idea ?
>>
>>What about putting the same information in both the page footer and group footer/report summary. Use Print When to make the page footer not print on the last page. Determine the last page by either EOF() or by running the report the first time to a file and grabbing the _PAGENO value to a variable, then run the second time to print.
>
>Cindy,
>
>I have done what you've told it worked only for more than one page but if only one page (45 rows) the information will be printed on the second page so there are two pages instead of one. I'm running out of ideas. Is there another way ?

You could make a report variable that counts rows and print the information in the page footer if you're at EOF() and nNumRows <= 45 and in the group footer if your're at EOF() and nNumRows > 45.

Draw pictures of your report. Describe to yourself in words what you want - "I want to print this text here if ___ and print it here if ___. Then use grouping and report variables to test for your conditions.

Create "fake" groups if you need to like grouping on .T. so you can put controls in a group footer which will show in the middle of a page if that is better than a page footer or a report summary band.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform