Subject | Re: [IBO] SqlWhereItems - TIB_Query.search |
---|---|
Author | Jason Wharton |
Post date | 2000-12-12T16:26:10Z |
> in a TIB_Query where select statement is initialy select * from table forupdate,
> I sometimes need to to change the where clause by code. I´m doing this byok,
> InvalidateSQL; Refresh;onPrepare > Sql.WhereItems.Add(..). The result is
> but if I now change the orderingItems, the select statement is rebuild toselect * from table;
> What I would need is the behaviour, as when I had assigned the searchcriteria via
> searchmode.If you change the OrderingItems it still should trigger the OnPrepareSQL
event.
Something else is in you app to make it not behave I think.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com