primary key

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Access Training and help » Primary key

Primary key

resolvedResolved · Medium Priority · Version 2003

Alessandra has attended:
Access Introduction course

Primary key

Can you define two or more fields as jointly primary keys? if so, how?

RE: primary key

Dear Ale

Thank you for attending Access Introduction. I hope you enjoyed the course and benefited from it.

Yes there are situations that one table may need two primary keys to make the records unique.

If you would like to have two primary keys simulateneously then simply go to the design view of the table.

Select the first field that need to be the primary key by clicking on the grey box in front of the field.

Then keep the CTRL key press while selecting the second field that needs to be assigned as the primary key.

Press the Primary key on the toolbar and you'll notice that both the fields will be set as primary keys.

I hope this has answered your query.

Can I please request you to mark this post as resolved.


Kindest Regards

Rajeev Rawat
MOS Master Instructor 2000/2003
MCAS Master Instructor 2007


 

Access tip:

Convert A Form Into A Report

If there is a form that you want to to save as a report:

1. Open that form in Design View
2. Select File and Save As
3. In the Save As Dialog box Select Report

The system creates a report based on the form.

View all Access hints and tips


Server loaded in 0.08 secs.