1) Sometimes the error '... Undefined symbol: SqlQuery."fieldname" ' appears, even though this field is displayed exactly like this in the DB field list within LazReport designer. Most of the time the error message points to a different band than where the field was actually placed. Unfortunately, I can't reproduce this behaviour reliably yet.
2) When trying to print some master data fields in the page header (option 'On first page' enabled), it doesn't print the correct values of the current data record (see example below).
3) Option 'Show on all pages' makes no difference for master header band regardless if enabled or disabled (see example below, option enabled).
But when the option 'Show on all pages' is disabled, nothing changes. So it's just the other way around in your project than in mine.
I tried to get the database fields of interest to print within the page header. I expected to get data of first record on the first page, but got data of the second record on the first page (please compare page header data on page 1 with master data on the same page).
... maybe you didn't disable 'Show on all pages' properly.
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"/>
1) Sometimes the error '... Undefined symbol: SqlQuery."fieldname" ' appears, even though this field is displayed exactly like this in the DB field list within LazReport designer. Most of the time the error message points to a different band than where the field was actually placed. Unfortunately, I can't reproduce this behaviour reliably yet.