Hi,
I am updating a DLL from ActievX to OLEDB and I am having a problem with a field that needs to be defined with auto increment. I get an error messenge, "Syntax error in CREATE TABLE statement". Below is a portion of the code:
strSQL = "CREATE TABLE tblCdd (" & _
"[ID] int autonumber," & _
"TrafficClass char (2)," & _
"TrafficUse char (2)," & _
"ConvCode char (1)," & _
"BlkObj char (2)," & _
"ECCS char (3)," & _
"Primary Key([ID]))"
I have used both auto_increment and auto_number both with the same results.
If anyone could provide any help would be greatly appreciatvie.
Thanks,
Fred
I am updating a DLL from ActievX to OLEDB and I am having a problem with a field that needs to be defined with auto increment. I get an error messenge, "Syntax error in CREATE TABLE statement". Below is a portion of the code:
strSQL = "CREATE TABLE tblCdd (" & _
"[ID] int autonumber," & _
"TrafficClass char (2)," & _
"TrafficUse char (2)," & _
"ConvCode char (1)," & _
"BlkObj char (2)," & _
"ECCS char (3)," & _
"Primary Key([ID]))"
I have used both auto_increment and auto_number both with the same results.
If anyone could provide any help would be greatly appreciatvie.
Thanks,
Fred