unique identifiers
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Unique identifiers

Unique identifiers

The UK's most regular instructor-led training courses.
Training information: ms-access-course · Microsoft access courses · Microsoft Access Training
See also · microsoft access training · access vba courses · access database course

resolvedResolved · Low Priority · Version 2003

Unique identifiers

Izaskun has attended:
Access Introduction course
Access Intermediate course
Access Advanced course
Access VBA course

by - delegate Izaskun [1 post] (2008 May 14 Wed, 16:45) replyReply

can we have more than one key field in the same table

Access Advanced 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Nov 26 Wed Bloomsbury 3 book now £224 £235
2007 2008 Nov 28 Fri Bloomsbury 3 book now £240 £245
2003 2008 Dec 3 Wed Southwark 7 book now £203 £230
2003 2008 Dec 19 Fri Bloomsbury 6 book now £214 £230
2003 2008 Dec 24 Wed Bayswater 0 FULL    
2003 2009 Jan 7 Wed Southwark 7 book now £203 £230
Full Schedule: See all 47 Access Advanced course dates.
Bookings currently available until 25th November 2009.

RE: unique identifiers

by - trainer Richard platinum contributer[818 posts] (2008 May 19 Mon, 16:03) replyReply

Hello Izaskun ,

Hope you enjoyed your Microsoft Access course with BEST STL Training.
Thank you for your question regarding Unique identifiers.

In situations where you can't guarantee the uniqueness of any single field, you may be able to designate two or more fields as the primary key. The most common situation where this arises is in the table used to relate two other tables in a many-to-many relationship.

For example, an Order Details table can relate the Orders and Products tables. Its primary key consists of two fields: OrderID and ProductID. The Order Details table can list many products and many orders, but each product can only be listed once per order, so combining the OrderID and ProductID fields produces an appropriate primary key.

Each product can be listed only once per order.

Another example would be an inventory database that uses a field part number of two or more fields (part and subpart).

If you are in doubt about whether you can select an appropriate combination of fields for a multiple-field primary key, you should probably add an AutoNumber field and designate it as the primary key instead. For example, combining FirstName and LastName fields to produce a primary key is not a good choice, since you may eventually encounter duplication in the combination of these two fields.

In a multiple-field primary key, field order may be important to you. The fields in a multiple-field primary key are sorted according to their order in table Design view. You can change the order of the primary key fields in the Indexes window.

I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post.
Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Richard
Microsoft Office Specialist Trainer


Related articles

· Get More Out of MS Access Courses
· Tips for designing databases in Microsoft Access
· Microsoft Access Mistakes to Avoid
· Access VBA Training Adds Power to your Databases
· How To Find Good Access Database Courses In London

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

Access tip:

Duplicating an Entry

To duplicate the entry press CTRL+' (apostrophe)this will copy the contents of the previous entry in the same field.
(Table view, line above) note this also works in Excel.

View all Access hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz