My example VB6 program:
Dim conn As New connection
conn.Open "Driver={Microsoft Access Driver (*.mdb)};Dbq=" & App.Path & "\adatabase.mdb;"
conn.Execute "INSERT INTO atable (afield) VALUES (""some text"")"
End Sub
("adatabase.mdb" contains one table "atable" with one field "afield" of type "Text" length 255. Access 2002, Access file format 2000. VB6 references include "Microsoft ActiveX Data Objects 2.8 Library".)
conn.Execute gets:
Runtime error '-2147217904 (80040e10' [Microsoft][ODBC Access Driver] Too few parameters. Expected 1.
The query
INSERT INTO atable (afield) VALUES ("some text")
runs directly in Access without any problem.