Hi Everyone,
I am trying to insert a row into MS-Access table. The table contains the details of error (number and description) occured in the whole script. The query written for inserting a row is as follows. strQuery = "Insert into ErrorLog values('& Err.Number & ",' " & Err.Description & " ')"
The problem is the Error description is like "The directory doesn't exists", in which a single quote is present (doesn't). Because of that the row is not getting inserted.
So can u please suggest mw how to overcome this issue.
Thanks in Advance
Regards
Priya ramanan
|