G
Guest
Hi. I'm building a SQL query that will perform an INSERT into an Access MDB.
Most are Text fields but one is a Memo-type field.
My question is, is there a function I can call which escapes characters that
won't work inside the SQL string? Examples include the single quote "'" but
also, I don't know what to do with the much longer string that might include
NEWLINES, etc. that will be written to the Memo field in the database.
Is there a standard function that will properly escape all of this stuff so
that I can build a properly formed SQL string for the INSERT?
Alex
Most are Text fields but one is a Memo-type field.
My question is, is there a function I can call which escapes characters that
won't work inside the SQL string? Examples include the single quote "'" but
also, I don't know what to do with the much longer string that might include
NEWLINES, etc. that will be written to the Memo field in the database.
Is there a standard function that will properly escape all of this stuff so
that I can build a properly formed SQL string for the INSERT?
Alex