send an SQL to report
Is that possible to send an SQL to a report at runtime instead of create an SQL in design time. I know we can send query condition values to a report at runtime. But when condition fields are varied time by time, then how can I create a whole WHERE clause at runtime to replace original SQL WHERE clause? Thank in advance!
Comments
TfrxADOQuery(frxReport1.FindObject('ADOQuery1')).SQL.Text := ...
Search through this forum - there are several topics about dynamic (on-fly) changes in queries made at design time. One of them is:
http://www.fast-report.com/en/forum/?p=/discussion/7906
Mick