Subject | Re: [IBO] Re: IB_SearchPanel with wildcards |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-08-16T09:35:47Z |
At 08:51 AM 16-08-02 +0000, you wrote:
seems to require an escape character. You can use any of * _ % or ?
for your wildcard as long as you escape them, e.g. (from what I can see)
(searching for strings starting with 'Silb') Silb\*
If you don't like '\' as your EscapeCharacter, you can set it to something
different (single character only) in the EscapeCharacter property of
TIB_Connection.
If that doesn't work, come back here and cry foul.
Sorry I didn't have an instant useful answer. I never use this style of
searching - I always utilise the incremental searching.
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com
>Hello,OK, I've now looked up the wildcard-parsing code in IB_Parse.pas and it
>
>thank you for this response. But how can I enforce my users not to use
>* for wildcards, or how can I show my own error message window if they
>do?
seems to require an escape character. You can use any of * _ % or ?
for your wildcard as long as you escape them, e.g. (from what I can see)
(searching for strings starting with 'Silb') Silb\*
If you don't like '\' as your EscapeCharacter, you can set it to something
different (single character only) in the EscapeCharacter property of
TIB_Connection.
If that doesn't work, come back here and cry foul.
Sorry I didn't have an instant useful answer. I never use this style of
searching - I always utilise the incremental searching.
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com