Thank you for your continued support.
Your project with 'Show on all pages' disabled works also as expected on Laz 2.2.0 (Fixes) as well as on Laz 2.3.0 (Trunk).
But if I enable 'Show on all pages' it still behaves as if it were disabled.
So, both of your projects work as expected, but changing the option 'Show on all pages' has no effect on my side.
... maybe you didn't disable 'Show on all pages' properly.
- in Lazarus IDE: open 'unit1' | F12 | double click on frReport1
- in LazReport designer: right click on master header band | click on 'Show on all pages' | right click on master header band again to make sure that check mark has changed | Save report | Close
- in Lazarus IDE: Run | Clean up and Build ... | Clean up and build | F9
EDIT 1: The option 'Show on all pages' works as expected if I don't use 'Save report'. (???)
EDIT 2: Verified: The XML-Code of the report in unit1.lfm gets not changed if 'Save report' has been used.
<Flags Value="48"/> or <Flags Value="112"/>
EDIT 3: The changes are written back to <Flags Value.../> in a reportname.lrf file, but the behaviour of the header band doesn't change. So the value doesn't seem to be interpreted correctly when run.
EDIT 4: If you leave the 'DataSet' field in the page header empty, the correct data from the first master record will be displayed. I assumed that if data from the master table should be displayed in the page header, one has to enter the same dataset as for the master detail band. But then data from another master record is displayed (point 2 of my first post).