Avatar

Not applicable

Tons of thanks! The updated version works perfectly.

So put the  overflow trailer/leader under Referenced Objects making them turning into a "proto" element but not an ordinary "subform", correct?

Yes you're right that I have to check "repeat for each data item" both for overflow header/trailer.

However I'm still confused why it's mandatory.

As far as I understand, the "proto" elements are applied to subform frmTableItemList ( which is wrapping the table), or rather, are applied to this table's property "break".

<subform w="176mm" layout="tb" name="frmTableItemList">

....

<break overflowTrailer="#overflowTrailer1_ID" overflowLeader="#overflowLeader_ID"/>
            <?templateDesigner expand 1?>

</subform>

So if pagebreak happened to frmTableItemList, there should always be header/trailer appeared ( though in fact there isn't if not checking "repeat" option). This is what I expected.

Why I have to check the "repeat" option for overflow trailer/header?

Thanks again for help.

Just for intuitive purpose, following is the screenshot for structure of the xml.

overflow.PNG