Subject Re: [IBO] IBO Search with 'OR'
Author Geoff Worboys
Hi Marcin,

You are probably already aware, but just in case:

IBO supports: IN(search1text,search2text)
in its edit control which would give the same effect as
an OR.

Or you can set your own syntax in OnProcessSearchBuffer
(in IB_Connection). I do this to implement a shorthand
IN syntax using: search1text|search2text

--
Geoff Worboys
Telesis Computing Pty Ltd


'Marcin Bury' marcin.bury@... [IBObjects] wrote:
> Hello everybody

> Seeing Jason around...

> IBO search functionality is great, but is it possible to have
> 'OR' criteria?
> What I would like to achieve is bind two TIB_Edit to one
> dataset column and then posting the search state get the
> 'where' like this:

> aColumn = 'aedit1_text' OR aColumn = 'edit2_text'

> instead of

> aColumn = 'aedit1_text' AND aColumn = 'edit2_text'
> Is it possible?

> Thanks
> Marcin