|
Re: get ride of "%" while searching [message #553289 is a reply to message #553287] |
Thu, 03 May 2012 04:00 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Tell them not to search by "%".
(One of) Oracle wildcard(s) is %. So, if they don't need a wildcard, they won't use it. If they need it, they will use it. Can't be simpler.
Everything else but following default (Oracle) Forms functionalities means that you need to code it. For example, in a PRE-QUERY trigger, you might use something like
:ename like '%' || :ename || '%'; in order to add % instead of your users. Now imagine a form with 10, 20 or more items, all of them searchable. Now multiply that number with number of forms. If you are that kind to save users from typing a single % when needed, go for it!
|
|
|
|