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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Generated Primary Key in MSAccess

Status
Not open for further replies.

kazai

Programmer
Oct 19, 2001
24
US
While accessing MS Access table through ASP, I insert a row through a form page, using ASP. But the primary key is an auto number, called id. How do I incorporate this value in my Insert statement...do I need to incorporate it, or will it suffice if i just insert the values for the other columns.
Thanks,
Malavika.
 
just leave the autonumber field out of the SQL Insert statement and it'll be fine.

-Christian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top