Lynus
Technical User
- Apr 12, 2003
- 69
Hi Folks. I am searching threw a database based upon criteria that the user enters. So the user would enter "test" for the search criteria. I set up a string and am calling it searchstringtext. Now my question is are you allowed to use strings in your sql statements. IF so how do you achieve it. Below is a samble of my code.
Set newrec = New ADODB.Recordset
newrec = "SELECT * FROM bugs WHERE dbbugdescription LIKE ('searchstringtext')"
Any help would be greatly appreciated.
Thanks
Set newrec = New ADODB.Recordset
newrec = "SELECT * FROM bugs WHERE dbbugdescription LIKE ('searchstringtext')"
Any help would be greatly appreciated.
Thanks