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

linking tables

ResolvedVersion 2007

Lauren has attended:
Access Introduction course
Access Intermediate course

Linking tables

We learned how to link tables...what are practical uses for this tool? I work with 2 databases that I've always wanted to link for reporting purposes, but I'm not sure if this is the right way of going about it.

RE: Linking tables

Hello Lauren
Thank you for your question

Here is a link giving instructions on how to link two databases together:
http://www.ehow.com/how_13633_link-data-another.html

Linking tables within one database is done so that you can report on the data and get full records out of the database without duplicating. For example, i have a customer table with all customers and an order table with all orders. I want to know what customer made the order so rather than adding a field called customer name into the orders table, I would add the customerID field from the customer table to the order table and link them on this field. I can then write a query and report showing the order and the customer details who made the order. One customer might have placed ten orders and this method means I only need to add the customer details once in the customer table and link, rather than adding the customer name each time to the order table. (It would inevitably get spelt wrong on some orders etc and would end up in a mess!)

Without linking the tables this would not work. So its very much about learning how to seperate out the data to minimise duplication while still getting out all the information you need.

If this resolves your question, please mark it as resolved. If not, please reply with more information.

Kind regards
Cress

Access tip:

Random sampling

Data is th key to a good database, therefore checking is essential.

A good way of checking data is by random sampling. You can do this in a query, by typing the follow:
1) In the Field box create a RandonID field eg. Randon Id: Rnd(fieldname])

2) sort the field
3)Right click and chage the properties for To value to be the number of randon records you want to see.

4) Change the set to Show row for Randon ID to be False, add all the other fields you want to see and the run the query.

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.11 secs.