Personal..
I had a kind of "strange" situation with LazReports...
Well, I put together a report with the following structure:
GroupHeader1
-GroupCondition: FIELD01
[MEMO01]
[MEMO02]
GroupHeader2
- GroupCondition: FIELD02
MasterData
GroupFooter
PageFooter
So far, it worked perfectly... except that when breaking and generating a new page the GroupHeader1 was not printed even with the option "Show on All Pages" activated...
Summarizing to solve I had to change the report to:
PageHeader1
GroupHeader1
-GroupCondition: FIELD01
[FIELD01]
GroupHeader2
- GroupCondition: FIELD02
[FIELD02]
[CAMPOXX]
MasterData
GroupFooter
PageFooter
Only then was I able to make lazreport generate the report and print the GroupHeader1 on all pages and perform the page break. But what intrigued me was that the field, which is a memo, [CAMPO02], it needs inside GroupHeader1 to perform the break.
In my software I create the Dataset at runtime and only associate it with the TfrReport object that loads the report..
Is this really the case or is it some limitation of lazreport?