microsoft access training courses - more than one relationship
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 » microsoft access training courses - More than one relationship per field?

microsoft access training courses - More than one relationship per field?

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

resolvedResolved · Low Priority · Version Standard

More than one relationship per field?

Rachel has attended:
Access Introduction course

by - delegate Rachel [2 posts] (2007 Feb 7 Wed, 14:37) replyReply

Is it possible to have more than one relationship stemming from the same field in a table? At the moment I have my central database which contains all my information. This centres round a list of people. Ideally, I want to create a separate linked table for each person, so that their personal information links to the main table.

I have created a relationship to a table based on one of them, but any further links I try to create just put my new information into the same table!

Alternatively, is there a better way to link this information; perhaps with hyperlinks?

Thanks,
Rachel

Access Intermediate 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Sep 9 Tue Bloomsbury 3 book now £210 £215
2002/XP 2008 Sep 11 Thu Tooting 0 FULL    
2003 2008 Sep 19 Fri Bayswater 5 book now £195 £205
2007 2008 Sep 23 Tue Bloomsbury 5 book now £212 £224
2002/XP 2008 Sep 24 Wed Tooting 0 FULL    
2003 2008 Oct 7 Tue Southwark 6 book now £193 £215
Full Schedule: See all 72 Access Intermediate course dates.
Bookings currently available until 24th November 2009.

RE: More than one relationship per field?

by - trainer Richard platinum contributer[788 posts] (2007 Feb 8 Thu, 09:35) Edited on 2007 Feb 8 Thu, 09:35 replyReply

Rachel

Yes, you can have more than one relationship per field.

It is important that you go through a process called NORMALISATION. This is covered in depth in our intermediate course. There is good background information in the help section of Access.

Basically you need to look at the data your database is going to contain, and see what kinds of relationships they should have. NORMALISATION is a guide to doing this so that the result will work in a relational database. It does take some time to understand, and can be a bit technical.

A good start is if you have all your data in one table, and then look at the fields that have duplication in it. Those fields that have duplication are ones that can be put into a separate table. Not all these fields need to be separated from the main table.

So an example could be Customers and Orders. You would not want to have all that detail for each customer for each order in one table, as you would be constantly duplicating the customer info every time they re-ordered.
So in this case, the fields relating to the order (like product, quantity, amount, shipping details, etc) would be in one table, and customer information would be in a separate table. The way this would be linked is through the CustomerID. Each Customer would have a unique code (primary key), which appears in the order table (foriegn key). The relationship is built on these fields. So linking CustomerID(primary key) in the Customer table, to the CustomerID (foreign key) in the Orders Table.

The way you would view the information would be through a query. Show both tables in the query, make sure that the relationship is in place, and then show the fields you want to see. A good way to see if you have got the relationship right, is to show both CustomerID fields from both tables in the query. This way you can see if the fields match. If they do match, then you have got it right. If not matching, then you need to find the error.

Let me know how you get on.

Richard


Related articles

· Take an Access Course to Learn About Relational Databases
· Microsoft Access: Unleash the True Potential Today
· Turning your Spreadsheets into Interactive Data Warehouses with MS Access Courses
· Material covered on a Microsoft Access Course
· Quick Access Database Courses: A 10 Step Lesson in Encrypting and Decrypting an Access Database

Access tip:

Splittng a database

Split your database into two (at least).

Keep all of your code, forms, reports, etc. in one 'code' database and all of your tables in another 'data' database which is then linked to the 'code' database.

This makes modifications, updates and back-ups that much easier and allows you to work on a new version of your 'code' database without affecting existing users. It also makes it easier should you wish to convert a single user databases into a multi-user networked version.

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
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