Subject | Re: [IBO] Screen Refresh after changing SQLWhere clause to slow |
---|---|
Author | rudi_josic |
Post date | 2005-06-26T18:13:59Z |
--- In IBObjects@yahoogroups.com, "Woody \(TMW\)" <woody-tmw@g...>
wrote:
i use something like you do and i use the filter not the sqlwhere and
it's works for me.
try something like:
iqProducts.DisableControls;
iqProducts.filtered = false;
iqProducts.filter := 'PRODUCTS.PRODUCT_TYP=''SPT'''
iqProducts.filtered = true;
iqProducts.EnableControls;
i hope it helps
wrote:
> From: "Frank" <FrankBKK@g...>why don't you try to use filter?
> > I use a TIB_Query to access a table where I store two kind of
> > informations - normal products and spareparts data.
> >
> > in my application I use a TpageControl to display them
> > separated but on a single form anyway.
> >
> > Switching the Tabs between Spareparts and Products I have to
> > change the SQLWhere clause like
> >
> > iqProducts.SQLWhere.Text := 'WHERE PRODUCTS.PRODUCT_TYP=''SPT''';
i use something like you do and i use the filter not the sqlwhere and
it's works for me.
try something like:
iqProducts.DisableControls;
iqProducts.filtered = false;
iqProducts.filter := 'PRODUCTS.PRODUCT_TYP=''SPT'''
iqProducts.filtered = true;
iqProducts.EnableControls;
i hope it helps