Post by pcerdazNot only Where but also Order by clauses will be necesary
to change from Paradox to IBX, but still I have another
problem: there are many places where I use them with different
conditions. Do you know a method to make SQL on runtime or
change some lines of the SQL made previously at design time?
You can put any SQL you want into a TIBQuery, TIBDataset, or TIBSQL at
runtime:
MyIBSQL.SQL.Text := 'select * from some table where somcondition order by
somefields';
You can also do it with parameters:
MyIBSQL.SQL.Text := 'select * from some table where somefield=:somparam
order by somefields';
MyIBSQL.Params[0].AsInteger := 100;
--
Wayne Niddery - Winwright, Inc (www.winwright.ca)
"Reality is that which, when you stop believing in it, doesn't go
away." Philip K. Dick