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 ?
edit template and on the “code” page write like this
begin
DataSort(‘PRJFIT’,’CODE’)
end;
you can sort by what you want..in my case ‘PRJFIT’,’CODE’
if you look at the picture above I have category sorting
It worked! Finally, thnx!
I needed to add my code to be executed before print to sort data.
See image below:
https://ibb.co/1QgZjVS
my code:
procedure DetailData1OnBeforePrint(Sender: TfrxComponent);
begin
DataSort(‘PRJFIT’,’Code1′)
end;
begin
end.