G
Guest
SQL = "INSERT INTO TABLEA VALUES('" & Forms![Form1]!job & "','" &
Forms![Form1]!description & "')"
DoCmd.RunSQL SQL
From tha line of codes, it would have runtime error when
Forms![Form1]!description contains an apostrophe. What's the workaround ?
Thanks in advance.
Forms![Form1]!description & "')"
DoCmd.RunSQL SQL
From tha line of codes, it would have runtime error when
Forms![Form1]!description contains an apostrophe. What's the workaround ?
Thanks in advance.