by Murali (2 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 18th February 2002
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
One line code for inserting a Single and Double Quote into the database using execute
API Declarations
' Activx Data Object 2.5 Library
DIM CN AS CONNECTION
cn.execute ("INSERT INTO ABC VALIES('" &replace(txtDescription,"'","''") & "'")
end sub
No comments have been posted about One line code for inserting a Single and Double Quote into the database using execute. Why not be the first to post a comment about One line code for inserting a Single and Double Quote into the database using execute.