I am using the Database Region Wizard in FrontPage 98 to set up a simple SQL statement. I was hoping someone could give me a couple of examples using the "LIKE" syntax with a variable called varName. One example I found suggested this:
SELECT * FROM tblAddress WHERE [Name] Like '%%%varName%%%'
But this returns all the records regardless of what is in varName, and I've tried several different variations and nothing works.
SELECT * FROM tblAddress WHERE [Name] Like '%%%varName%%%'
But this returns all the records regardless of what is in varName, and I've tried several different variations and nothing works.