Garon
02-02-2004, 01:49 PM
Hey,
I am trying to create a table in a *.mdb file with the following line of code:
Db.Execute ("CREATE TABLE " & txtCatName.Text & " (Index AUTONUMBER, PartName VARCHAR(50), PartDescription VARCHAR(300), PartPicLocation VARCHAR(100))")
I am getting a syntax error, not on the vb but the sql. I think that it is the part with the AUTONUMBER, but i am not sure :( and i havn't been able to find any usful help anywhere else that i have looked. Any help would be great.
I am trying to create a table in a *.mdb file with the following line of code:
Db.Execute ("CREATE TABLE " & txtCatName.Text & " (Index AUTONUMBER, PartName VARCHAR(50), PartDescription VARCHAR(300), PartPicLocation VARCHAR(100))")
I am getting a syntax error, not on the vb but the sql. I think that it is the part with the AUTONUMBER, but i am not sure :( and i havn't been able to find any usful help anywhere else that i have looked. Any help would be great.