Varaibles

IanT

Registered User.
Local time
Today, 16:51
Joined
Nov 30, 2001
Messages
191
Hi

I am using the code below to create variables for us in a SQL statement. I am having problems as the strInList variable will be like (*) using the code below instead of Like "*" which is what I need, can anyone advise!



strLike = "Like"
strStar = "*"



strInList = strLike & strStar
 
Use this instead:

strInList = strLike & Chr(34) & Chr(42) & Chr(34)
 

Users who are viewing this thread

Back
Top Bottom