StartNewPage has No Effect
FR Gurus,
Please see the attached jpg. Here you notice that midway of the first page, Feb 19th starts. The problem is this date corresponds to a new building, which does not have a label until the second page.
I have the StartNewPage = "True" associated with the Building group, but it seems to have no effect.
I expect to see a blank area below the aggregate data of Blg407.
Please advise what I am doing wrong.
Attached is also the properties of the Building group header
Regards,
Monte Carver
Please see the attached jpg. Here you notice that midway of the first page, Feb 19th starts. The problem is this date corresponds to a new building, which does not have a label until the second page.
I have the StartNewPage = "True" associated with the Building group, but it seems to have no effect.
I expect to see a blank area below the aggregate data of Blg407.
Please advise what I am doing wrong.
Attached is also the properties of the Building group header
Regards,
Monte Carver
Comments
Why? Is this kind of behavior classic of Fast Reports?
it can happen when a report component has store in dfm set to true and after much "futzing"(changing and Previewing from the ide) and no saving of the delphi form the ide runs out of stack space and the 'bsod", occurs.
usually on older delphi versions.
I enclose final result (JPG) and fr3 definition based on demo database.
Mick
However, after I figured out what happens it was quite logical and I can't see how it could be changed.
I mean such a solution based on pure FastReport script:
1. declare global array variables
2. OnBeforePrint event for GroupHeader clear these tables
3. OnBeforePrint event for MasterData gather values into these tables according to value in certain columns / memos on the band
4. OnBeforePrint event for GroupFooter do necessary calculations and put their results in memos on GroupFooter band
Mick