Bug? printing from frxuserdataset with a groupheader

D11.2 FR2024.1.8 WIN10

I am using a frxuserdataset to print a simple array of values eg

MyArray[0,0] := 'Entry 0';

MyArray[0,1] := '0';

MyArray[1,0] := 'Entry 1';

MyArray[1,1] := '0';

MyArray[2,0] := 'Entry 2';

MyArray[2,1] := '1';

MyArray[3,0] := 'Entry 3';

MyArray[3,1] := '1';

A simple masterdata displays all the rows but if I add a groupheader on the second column the first row of each group value is not printed.

Is there a fix?

Regards

Tony

Comments

  • Create small demo project and send it to support@fast-report.com

  • Add TfrxUserDataset.OnPrior event

    procedure TForm1.frxUserDataSet1Prior(Sender: TObject);

    begin

    dec(i);

    end;

  • Thanks for that - that was the missing bit.

  • edited October 2024

    Hey Tony!Try setting the "Keep Group Together", option to False for your GroupHeader Sometimes when grouping data might get skipped, if FastReport can't fit the group correctly.also make sure your data is sorted before loading it into frxUserDataSet.This could help.P.S.Setting "Start New Page" to False sometimes works too. Worth a shot!

    https://remontujemy.net.pl/

Leave a Comment