Repeating masterdata for n times issue

Hello

I want to repeat the MasterData for n-times, where n is the number stored in my dataset record.
So far here is what I've done :

Added an MasterData, set it's dataset to "Data" , set filter to "<Data."Qty"> >0" and height to 0.
MasterData.OnBeforePrint is set this way : DetailData1.RowCount := <Data."Qty">;

Added an DetailData and place all tfrxMemoView inside it

My page has 2 columns, and DetailData height is set 1/4 page1 height

When I preview, I can see printed data but there is a lot "empty" DetailData band up and there... How can I fix this ?

Comments

  • gpigpi
    edited 11:52AM
    Did you set DetailData1.RowCount to 1 in the FR designer?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.