Subject Re: [IBO] Re: TIB_IncSearch
Author Jason Wharton
You have to use the OnCustomCompareStr() and OnCustomCompareText() events on
the connection or database component. In here you put in the same logic the
interbase returns.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: <knoerzer@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, August 07, 2001 8:28 AM
Subject: [IBO] Re: TIB_IncSearch


> --- In IBObjects@y..., Marcello Mannino <interbase@m...> wrote:
> > I'm having trouble with TIB_IncSearch when using characters like dot
> > or dash.
> > Assume that keys 'AAA-BBB', 'AAA.BBB', 'AAABBB' exists.
> >
> > If I search for 'AAA-B' the grid is positioned to the key 'AAABBB',
> > in short it ignores the dash.
> >
> > If I search for 'AAA.' the grid is positioned to the some key
> > starting with 'AAA' in short generally it positions to a wrong key.
> >
> > Is there any property to set to fix this behaviour ?
> >
> > If I use a TIB_LocateEdit component the searches work fine with both
> > dashes and dots.
> >
> > IBO 4 Gold C & D6, but also in IBO3.x & D5
> >
> > Thanks for attention,
> > Marcello Mannino
>
>
> We got the same problem like you :-( Also with + or blank.
> Is there anyone outside who has fixed the problem ?
>
> thanks Elmar
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>