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

table relationships

Forum home » Delegate support and help forum » Microsoft Access Training and help » Table Relationships

Table Relationships

ResolvedVersion 2007

David has attended:
Excel Intermediate course
Excel Advanced course
Access Intermediate course
Access Advanced course

Table Relationships

Best way to describe one-to-many table relationships

RE: Table Relationships

Hi David

One way to describe a One-to-Many relationship is:

A Student has only one Maths teacher in any one year.

However the Teacher will have many students

This is the One-to-Many relationship.

In the relationship window the line would go from the Teachers Primary Key(The One) on the Teachers Table to the Teacers Code field(The Many) on the CoursesTaken table

Hope this helps

Carlos

Access tip:

Deleting duplicate records from a table

You cannot delete records tables where there duplicate records. A way around this is to create a new table which wont hold the duplicates. and then deleting the old table.

1. Use a make-table query based on this table only. IMPORTANT - Ensure that you include all of the fields from your original table or you may loose data.

2. Open the query's property sheet by using VIEW, QUERY, PROPERTIES, and set the Unique Values property to Yes

3. Because you have selected the Unique Values to Yes when you run the query, Access creates a new table without duplicate records. You can now delete the old table and rename the new one.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.