CHANGE GROUP CONDITION RUNTIME
Regards
i can change group from a report in runtime.
but this code is not valid ... ???
Thanks ...
i can change group from a report in runtime.
if ( frx.findcomponent( 'Groupheader1' ) as tfrxGroupHeader ) <> nil then
(frx.findcomponent( 'GroupHeader' ) as tfrxGroupHeader).Condition :=quotedstr( '<frxdbdataset1.'+
FQRListPedidos.QRGroup1.Expression+'>'
but this code is not valid ... ???
Thanks ...
Comments
is imported from a quickreport expressi??n , its value in runtime is as follows:
'DATE_OF_PRODUCT', thas is a field of query
the finally string is :
(frx.findcomponent( ccomponente ) as tfrxGroupHeader).Condition:= '<frxdbdataset1."date_of_product">
thanks....
TfrxGroupHeader(frxReport1.FindObject('GroupHeader1')).Condition:= '<frxdbdataset1."date_of_product">';