PcLinuxGuru
Technical User
I am making a vb program that yanks data from a text file and puts it into a access db.
I kept erroring out on the sql in my prog. I attempted a sample query in access itself and it tells me "Invalid INSERT INTO" syntax. Here is what I typed as a query:
INSERT INTO TestTable (TestField) VALUES ("test")
Now I verified the tablename and the field name. I then tried:
INSERT INTO TestTable ('TestField') VALUES ("test")
and the error changes to an unknown field name like it does not exist.
This is access 2000. Is there anything I should be aware of. Most of my database experience is with mySQL but access seems to be kicking my butt.
I kept erroring out on the sql in my prog. I attempted a sample query in access itself and it tells me "Invalid INSERT INTO" syntax. Here is what I typed as a query:
INSERT INTO TestTable (TestField) VALUES ("test")
Now I verified the tablename and the field name. I then tried:
INSERT INTO TestTable ('TestField') VALUES ("test")
and the error changes to an unknown field name like it does not exist.
This is access 2000. Is there anything I should be aware of. Most of my database experience is with mySQL but access seems to be kicking my butt.