Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show line at bottom and top only
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00744786
Message ID:
00750290
Views:
23
Cecil,

As long as you use one report, there is no way around that, especially if you want a one page PO to completely fit on one page, and if you like that information to be at the bottom of a page. It reserves the space at the bottom of every page. If there tends to be a lot of one page PO's, the way I suggested still may the best overall.

VFP8 has a "remove line if blank" button for items in the page footer, but apparently it does not currently increase the number of detail lines that can fit on a page. Cathy and Sergey think it is a bug, but it may be design. It would have to look ahead to potential footer contents while printing details...and the footer may make references to fields. That could be a tough nut to crack :)

Anyway...I digress.

Possible workaround: You know how many lines will fit on the different pages (last page, or not last page). You could use more than one print format...create two report cursors, and use two report formats:

SELECT cursor1
report form po1 ...
SELECT cursor 2
report form po2 ...

I have another idea; I'll get back to you.

>I was placing that data in the Pag Footer and all was fine, or so I thought. There was so much info placed into the Page Footer that it displaced part of the page. On pages where the Page Footer data didn't print, there were just blank space. On the page where it printed, it looked great, but if you had a 4-page report, there would be empty space displaced on the first 3 pages, so that the details wouldn't print in that space.
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform