Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Summary Band Problem
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00520842
Message ID:
00520847
Views:
12
>Hi All!
>
>I have this report (850x550) which can , supposedly, accomodate 8 lines of detail records. The problem is when it reaches a record of 8 or more, the summary band that follows prints on the next page without the header and the footer of the report. This report has no grouping whatsoever. There is no problem if i have 9 items or more in my detail band because if that's the case, the next page prints the header and footer along with summary. It's just that when the report has exactly 8 detail records, the summary band is left in the next page alone, with no header or footer printed. What do i do??

Hi Charles,

I have one idea, though I don't like it. Anyway, here it is:

Put detail line in the summary band. Put this expression in print when for detail: (assuming, you're running in the natural order):

not (mod(recno(),8)=0 and recno()=reccount())

In the summary band put this expression:

mod(recno(),8)=0 and recno()=reccount()

This should work, I believe, though it's not tested.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform