mrdevildog
Programmer
Alright Delphi gurus here's one for ya:
I've got a dbgrid connected to a database through an ADOQuery. I have the user input a word or string into an edit box which searches a specific field. I clear the ADOQuery (sql.clear) and then run a sql.add on it. The problem is that the search will only look for that word or string (such as 'water' or 'water rights'). I want the user to be able to input something like 'water & rights' so that it will search for both 'water' and 'rights' not just 'water rights'. Any ideas would be appreciated!!!
marz
I've got a dbgrid connected to a database through an ADOQuery. I have the user input a word or string into an edit box which searches a specific field. I clear the ADOQuery (sql.clear) and then run a sql.add on it. The problem is that the search will only look for that word or string (such as 'water' or 'water rights'). I want the user to be able to input something like 'water & rights' so that it will search for both 'water' and 'rights' not just 'water rights'. Any ideas would be appreciated!!!
marz