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

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
links

ResolvedVersion 2003

Nigel has attended:
Access Introduction course

Links

How do I link tables

RE: Links

Hi Nigel, thank you for the post, in answer to your question, linking tables is probably the most important part of creating and using an Access Database (well I think so anyway)
We link our tables by using the relationships window. There are three types of join that we can use in linking; One to One, One to Many and Many to Many. Access does not like the Many to Many join so it is necessary to create a join table which has the primary fields from the two other tables, so your create a many to one, and a one to many which makes a many to many if you get what I mean. (Difficult without diagrams.) We join our tables by connecting a Primary Key field to the same type and kind of field in the second table, so if you have for example a table which holds all the department names, and another table which has all the employees in a company, if the employee table has a field which has the department ID in it, joining the Department table; department ID, to this field by dragging and dropping it on top in the Relationships window will open the join dialog box, confirm your selection and click Join, you can then create a query which has information from both tables and the fields will display. I hope that has helped, best regards Pete

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

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.