Fixed Row numbers
Hello
I want to set fixed number of rows in report? I have databand TfrxMasterData and memos on it. In delphi code
i assign:
All works well, but how can i achive this?
I use FR4 4.13.2 and delphi XE5.
I want to set fixed number of rows in report? I have databand TfrxMasterData and memos on it. In delphi code
i assign:
MasterData.DataSet := frxDBDataSet;Â Â
memo:= frxReport.FindObject('MemoField1') as TfrxMemoView;
Memo.DataSet := frxDBDataSet;
Memo.DataField := 'DBField1';
All works well, but how can i achive this?
I use FR4 4.13.2 and delphi XE5.
Comments
I just tried to show that i work with datasets from code. Simply put i want to always have 10 rows table, if query retourns less records i want empty rows. So fixed numbers of rows regardless of query record count.
I hope that will explained it.
when you have only a few records, and you are using other footer bands
write code in the obp event of the footer to drive it down to the page bottom.
to limit the number of rows to 10
write code in the internal onbefore print event of the md band.
ie
if line# mod10 = 0 then engine.newpage;