FoxStudent
Technical User
I am building an SQL string to select records based on what the user enters in a textbox. I am using a line of code such as: sWhere = sWhere & " AND s.CommonName = " & txtCommonName
If for example txtCommonName contains: Tall Fescue it thinks that Tall Fescue is a paramater rather than the string I want to search for. How can I solve this problem!
thank u
Grainne
If for example txtCommonName contains: Tall Fescue it thinks that Tall Fescue is a paramater rather than the string I want to search for. How can I solve this problem!
thank u
Grainne