ms access training - how define relationships between
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 » ms access training - How to define relationships between databases

ms access training - How to define relationships between databases

resolvedResolved · Low Priority · Version Standard

replyReply Tue 7 Aug 2007, 09:46Delegate Jonathan said...

Jonathan has attended:
Access Introduction course
Access Intermediate course
Access Advanced course

How to define relationships between databases

1 to 1
many to many
1 to many

For upcoming training course dates see: Pricing & availability

replyReply Tue 7 Aug 2007, 10:43Trainer Richard said...

RE: How to define relationships between databases

Hi Jonathan

The relationships between tables are typically defined by the data in the tables. When you link a common field between two tables, then the relationship type is created.

One-to-One
So if you have two tables that will only ever contain one record relating to one record, then you will have a one-to-one relationship. It is unusual to have a separate table for a one-to-one relationship, as usually you would just have an additional field in the table.


One-to-Many
This is the most common type of relationship between any two tables. An example could be - one store, many products, etc.


Many-to-Many
This type of relationship requires an interlinking table to match the relationship of the two other tables. For example, several clients making several purchases, over a period of time. The client would come back an make another purchase. One table would contain the Client info, the other table the Product info. The interlinking table would be a Sales table of sorts and would record when the client came in, what there details are and what they pruchased.


Does that make sense?

Regards

Richard

 

Access tip:

Space marks

It is good practice not i to have space marks for field names as this can lead to problems when using queries or VBA code. It is much better to use an underscore charcter to represent spaces in field names

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