sSQLStatement = "SELECT item, bag " + _
"FROM EDC0001 " + _
"WHERE item like '" + sNameSearch + "'"
what I don't understand is the single quote after like and at the end of the line
like ' " sNameSearch + ' "
I would like to add "ordered by bag asc " so I don't know how to use the quote marks
is there a section in help that covers the proper punctuation for creating a string for the sSQLStatement
"FROM EDC0001 " + _
"WHERE item like '" + sNameSearch + "'"
what I don't understand is the single quote after like and at the end of the line
like ' " sNameSearch + ' "
I would like to add "ordered by bag asc " so I don't know how to use the quote marks
is there a section in help that covers the proper punctuation for creating a string for the sSQLStatement
Comment