simplysimple
06-30-2006, 04:29 PM
im making a sticky note program in visual basic 6.0....
i have a problem regarding databases...
i didnt use the SQL command "insert" and other commands like that...
coz i know there would be an error when you input a " ' " in the textbox.
so instead.. i used a class and then i put all the recordset commands in the
class.. but there seems to be a probem.
i dont know of any other way to make a command that would mean like
"insert into table1........bla bla bla.... where title= 'omg crap'
i dont know how to insert cquery with conditions like that....
can someone pls teach me ?
btw... my sql is 2005
i have a problem regarding databases...
i didnt use the SQL command "insert" and other commands like that...
coz i know there would be an error when you input a " ' " in the textbox.
so instead.. i used a class and then i put all the recordset commands in the
class.. but there seems to be a probem.
i dont know of any other way to make a command that would mean like
"insert into table1........bla bla bla.... where title= 'omg crap'
i dont know how to insert cquery with conditions like that....
can someone pls teach me ?
btw... my sql is 2005