T
Thierry
Hi,
I've got a problem with adding strings with a quote in SQL.
Dim LocationName As String = "for' example"
Dim strQuery As String = "select count(*) as fldNumber "
strQuery += "from " & TableName & " "
strQuery += "where " & FieldName & " like ' " & LocationName & "% '
"
What do I have to do to get LocationName into the query and get this
working?
Thanks,
Thierry
I've got a problem with adding strings with a quote in SQL.
Dim LocationName As String = "for' example"
Dim strQuery As String = "select count(*) as fldNumber "
strQuery += "from " & TableName & " "
strQuery += "where " & FieldName & " like ' " & LocationName & "% '
"
What do I have to do to get LocationName into the query and get this
working?
Thanks,
Thierry