I want to display data from table (column :- ID) at FastReport in Grid format as shown below. Suppose there are 22 records in table then it would display same in 3 * 3 grid at FastReport in following manner.
I am using subreport at main page inside MasterData1 band. At subreport MasterData band is as follows
MasterData1 band
TfrxReportPage1 - Columns 2
Subreport - MasterData2 properties Columns 3 , RowCount 9
But when I previewed fast report it is just repeating same data in each grid on page as follows
I am using frxDBDataSet1 to display data (Number Of Records 9). There are in total 28 records so it is expected to show four 3*3 grids on page with 27 IDs. but rather it is repeating first 9 ID's in each 3*3 grid as shown above.
IF I set Number Of Records 0 at frxDBDataSet1 then it would show something like as below It is not forming 3 * 3 grid but shows data continuou
if frxDBDataset1.RecNo = 0 then begin for i := 0 to 8 do frxDBDataset1.Next; end;
Is there any way to extract variable(i.e id) value from the frxDBDataSet1 so that we can move frxDBDataset1.next that many times depending on the last ID. – Romeu