RE: Unable to insert a record into MS Access



Hi,

Thanks for your code. As far as I can see, there isn't anything wrong in
the code. However, it is not recommended to concatenate SQL statements like
this. Because others can use injection attack to hack your database. Also
there will be some other issues with this. I strong suggest you use
parameters. Please check the following for more information.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemdataoledboledbparameterclasstopic.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

.



Relevant Pages


Loading