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 3:41PM
    Did you set DetailData1.RowCount to 1 in the FR designer?

Leave a Comment