Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print memo as a whole for next page if near page end..
Message
 
 
To
28/07/1998 21:42:25
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00121826
Message ID:
00122249
Views:
19
>>>First of all, how to set the calculation on line printing and know:
>>>the last few line is printing, need to put the result into next page.
>>>
>>>i.e. if one page can print 17-19 orderitems(depend on item description) and really all can print as one page but the next page only get the subtotal summary, the last orderitem need to put into next page instead of print at first page!!
>>>
>>>2nd, if there is a memo such as shiping marks, there may be 10-12 lines left in first page but the memo field may carry 15-20 lines and thus should print the memo field as a whole in next page other than at first page!!
>>>
>>>I don't know how to set the condition and give a page break if needed!
>>>is it the page break is Chr(11) ?! donno!
>>
>>One way is if you are using Data Grouping, there is on option on the Data Grouping to start a new page for the group if there is less than so many inches left on the page. You define the amount left for each group.
>

>
>Umm... Sorry, can you expand more?!
>
>2 cases requiry for block are:
>
>a) Determine if last page only display summary, move the last detail line into
>last page.
>Reason: Beauty the report show
>
>b) if all detail are printed and determine the Report Footer memo will or not break into two half in page bottom and last page!!
>Reason: the terms are essential to show as a whole!

Example: In your detail band, you can do a data grouping on a field that does NOT change. Set the option to start a new page if there is less than 2 lines left on the page. This should put the last detail line on the next page. IMHO, I don't see a beauty benefit by having 1 detail line on next page right before the summary. What if that means only using half or 3/4 of the previous page?
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform