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!

primary key help

Status
Not open for further replies.

faxof

Programmer
Dec 5, 2001
272
GB
how do i set a tables primary key using code?
 
You'll have to create a new index for the table as well as set the Primary property to true. You can find example code for this in the Access help under "Primary Property (DAO)".

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top