Subject Re: [IBO] SearchPanel
Author Harald Klomann
Jason,

>> is it possible to use the TIB_SearchPanel to find multiple values for the
>> same field (i.e. use AND, OR, etc.)?

AND here make no sense, isn´t it ?

>>What would be a good way to indicate this in the search criteria syntax?

Some Time ago, I made a parsing routine, written in C, to give the user
the ability to do such a search. I used following chars to indicate:

value | value means or for alpha and numerical (can be multiple
or´s)
value : value means in range for numerical only
! value means not equal for alpha and numerical

If you like to see my parsing code, I could send it to you. It was
written for
a UNIX programm, using a informix database.

Harald Klomann



Jason Wharton wrote:
>
> > is it possible to use the TIB_SearchPanel to find multiple values for the
> > same field (i.e. use AND, OR, etc.)?
> > Sorry if this question has been already asked but I was unable to search
> > the old archive of the mailing list and I didn't find anything in the
> > samples/help.
>
> Usually IN( ) fulfils my needs but you are correct that there isn't a way to
> use AND'd conditions in the search mode. I should add this to my things to
> do.
>
> What would be a good way to indicate this in the search criteria syntax?
>
> Thanks,
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com