After researching, i have been unsuccessful in finding the correct syntax for updating a record set within vb6 to an mysql database.
the current syntax is just saveRec.update, and each field is saved to the record set as saveRec.fields("fname") (as this is the syntax for vb6 and access.
Can anyone kindly suggest how or if this syntax different for vb6 & mysql?
The reason i ask is because i get the following error on the saveRec.update line:
[MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.`tablename` ( f_name,initial,l_name,gender,add1,add2,post_code,tele_home,tele' at line 1
Any help would be greatly appreciated
the current syntax is just saveRec.update, and each field is saved to the record set as saveRec.fields("fname") (as this is the syntax for vb6 and access.
Can anyone kindly suggest how or if this syntax different for vb6 & mysql?
The reason i ask is because i get the following error on the saveRec.update line:
[MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.`tablename` ( f_name,initial,l_name,gender,add1,add2,post_code,tele_home,tele' at line 1
Any help would be greatly appreciated