primary keys
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » PRIMARY KEYS

PRIMARY KEYS

resolvedResolved · Urgent Priority · Version 2007

replyReply Tue 24 Feb 2009, 16:41Delegate George said...

George has attended:
Access Intermediate course
Access Intermediate course

PRIMARY KEYS

WHEN WOULD YOU USE MULTIPLE PRIMARY KEYS AND GIVE EXAMPLES

For upcoming training course dates see: Pricing & availability

replyReply Fri 27 Feb 2009, 08:58Trainer Stephen said...

RE: PRIMARY KEYS

Hi George

Thank you for your question

Multiple or compound keys are used in place of an autonumber field, where there is no one existing field that is unique to individual records.

For example if you had a staff database with no unique fields you might decide to use a key compounded out of first name, second name and date of birth fields

The important consideration would be the uniquness of each combination. In the above example the developer would have to consider the likelihood of two people sharing the same first and second names as well as a date of birth

Hope this helps

Regards

Stephen

Thu 5 Mar 2009: Automatically marked as resolved.

 

Please browse our web site to find out more about
microsoft-access-courses and other Microsoft training courses.

Access tip:

Insert The Current Time

To insert the current time into a Table field or Form textbox use:

Ctrl+Colon(:)

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard