Subject Re: [IBO] TIB_IncSearch - Help
Author Luiz
----- Original Message -----
From: "spycke2000" <rpsb@...>
To: <IBObjects@yahoogroups.com>
> Hi!
>
> I'm using a TIB_Grid, TIB_IncSearch and a TIB_Query...
> I would like to know if it's possible to do something like this with
> a tib_incsearch component, for string values:
>
> 1) select *
> from table
> where column_name=:parameter;
>
> 2) select *
> from table
> where column_name like :parameter;
>
> In first example I want every rows whose column_name are equal to
> the parameter that is given in the tib_incsearch component, but if i
> have a checkbox checked, I want every rows that have the expression
> indicated in the tib_incsearh component...

I would not use tib_incsearch to do it. I would prefer a tib_edit and search
mode to this task.
It accepts mask in search mode as:
*as*--->behaves as a like
without mask, it behaves as case 1).

Luiz.


Luiz.