Hi All
I am needing some advice constructing the contents of a variable to be passed to SQL in an insert statement where the contents of the variable contains an apostrophe.
I have tried replacing "'"with "''" using:
Replace(MyString,"","''")
I am still getting a failed insert when using HExecuteSQLQuery.
Any ideas on the best way to handle this?
Cheers
André
I am needing some advice constructing the contents of a variable to be passed to SQL in an insert statement where the contents of the variable contains an apostrophe.
I have tried replacing "'"with "''" using:
Replace(MyString,"","''")
I am still getting a failed insert when using HExecuteSQLQuery.
Any ideas on the best way to handle this?
Cheers
André