SELECT [field1], [field2], [field3] FROM [someDB] WHERE ([field1] LIKE @thisvariable)
thisvariable is assigned to a textbox on the form
If I enter %here%, it will give me all records where field1 contains 'here'. I can do other SQL wildcard things like %here and here%.
My question is, how can I put those wildcard characters into this select statement? Doing WHERE ([field1] LIKE '%@thisvariable%')
doesn't work for me.