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 21

    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

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.