Hello
I got problem with sorting data, at that moment i got this one
https://www.transfernow.net/dl/20250124kattpL0N/yKlvIrGa
It fort parts by size and sum the same parts.
I need to make something similar but with “PRJEDGE” sorting by “MATNAME,LEN,TH” – i need to sum ABS for order
I want use this in “offer window” with C5

My PCV/abs looks like this:

At that moment i know i can make it by crosstab in C5 but there is some BUG so crosstab dont work very well, and cant it modify as i wish.. In C6 is a little better but at that moment i cant get this version.
Any ideas ?
1.create a category and remember the number next to it, for example 1 in our case
2. make sure that there is already a category on the fitting, each category created will have a create code and that code is entered in the filter for each PRJFIT, see picture 4
3.in the code section enter the following text
procedure DetailData1OnBeforePrint(Sender: TfrxComponent);
begin
begin
DataSort(‘ELMFIT’,’CAT1′)
end;
4.DetailData filter add <PRJFIT.”CATID”>=1
the number u represents the created category
5.enter [PRJFIT.”CAT”] in detail data
