P
paul.schrum
With help from this group, I recently got this code to work:
sqlStr = "CREATE TABLE tbl_urgencies (" & _
"urgencyID INTEGER NOT NULL, " & _
"urgencyDescription VARCHAR(31), " & _
"urgencyPriority INTEGER, " & _
"PRIMARY KEY (urgencyID))"
dbNew.Execute sqlStr
I then opened the database which I had just created from code. I
opened the table in design view and noticed that field urgencyID is
type "Number", not Autonumber. Isn't it preferable for this to be
Autonumber? What would be the syntax to get it to Autonumber instead
of Number?
Thanks.
- Paul Schrum
sqlStr = "CREATE TABLE tbl_urgencies (" & _
"urgencyID INTEGER NOT NULL, " & _
"urgencyDescription VARCHAR(31), " & _
"urgencyPriority INTEGER, " & _
"PRIMARY KEY (urgencyID))"
dbNew.Execute sqlStr
I then opened the database which I had just created from code. I
opened the table in design view and noticed that field urgencyID is
type "Number", not Autonumber. Isn't it preferable for this to be
Autonumber? What would be the syntax to get it to Autonumber instead
of Number?
Thanks.
- Paul Schrum