Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 95 / VB6 Autonumber

Status
Not open for further replies.

sanjaypatel6685

IS-IT--Management
Apr 10, 2002
1
GB
All,

I need to create a new table via VB6 DAO.


create table users
(user_id counter CONSTRAINT PrimaryKey primary key not null
,UserName Text(200)
,lastname text(200)
)

works fine with Access 2000 however VB6 DBO works with Access95 and I get a syntax error.

Can anyone help me convert the above statment so that it will work with Access95?

I am keen in creating this table with the Autonumber.

Thanks

Sanjay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top