PDA

View Full Version : Finding the primary key in a Recordset?



prabhafriend
07-22-2010, 04:05 AM
How to know which field is the primary key in a Recordset? Please don't suggest 'assume the first field'.

Imdabaum
07-22-2010, 10:16 AM
Open the table in Design view and click the Index item in the menu. This should identify which fields are indexed with other tables.
As far as which one is the Primary Key, it is usually indicated with a key to the left of the field.

Imdabaum
07-22-2010, 10:17 AM
duplicated itself. sorry.