G
Guest
I build an Insert Into statment using a variable, and it is working great,
except when the value I'm putting into a field contains a quote mark.
Basically the code is strSQL = "Insert into [table_name]([field_name) " & _
"Values('" & string_variable & "')'
When Access runs into a quote in the string_variable it sees it as a the end
of my string. How can I use quotes in the variable?
-rg
except when the value I'm putting into a field contains a quote mark.
Basically the code is strSQL = "Insert into [table_name]([field_name) " & _
"Values('" & string_variable & "')'
When Access runs into a quote in the string_variable it sees it as a the end
of my string. How can I use quotes in the variable?
-rg