condition group in runtime
hello
I need to create conditions group with several fields at runtime
i've tried this
the ideal would be to call a function at runtime returning a string to evaluate
something like
thanks by your attention
I need to create conditions group with several fields at runtime
i've tried this
group1.condition := 'frxdataset1.field1+frxdataset1.field2' also group1.condition := '[frxdatset1.field1][frxdataset1.field2]
the ideal would be to call a function at runtime returning a string to evaluate
something like
   Â
group1.condition :=Â Â myfunc;
function myfunc:string
begin
    result := 'cad1'+'cad2'+'cad3'; Â
end;
f this can not be done, as I can create group expressions with multiple fields ?thanks by your attention
Comments
I would have tried:
group1.condition := '<frxdataset1."field1"> + <frxdataset1."field2">';
The code should be executed before the grouping starts, so the main begin-end would be a good place to put it.
Petter
Thank you!
I've solved my problem, greetings ...