473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Linking tables in MS Access

I am trying to link 5 tables. Do I need a field in each of the table that is the same?
Feb 7 '07 #1
3 1293
lwwhite
16
By "link," I assume you mean that you want a field in Table B to look up values in Table A. For example, Table B is a list of employees. Table A is a list of statuses. For each employee in Table B, you want to be able to select the appropriate status from a list that in turn comes from Table A. To create such a scenario, you will need to create a relationship between the tables. To do so, you will need to have a field in Table B that can "receive" the values from Table A. You will then need to "link" that field to the corresponding field in Table A. In this example, your status field in Table B would "receive" the values from the status_id field in Table A.

Table A
status_id

Table B
emp_id
status

I find the easiest way to create this simple relationship is, when creating the table in the Table Designer, select Lookup Wizard... as the Data Type for the status field (in this example) and let the built-in Access Wizard do the work for you. You can later fine-tune the selection with a custom query if you need to.
Feb 7 '07 #2
ADezii
8,834 Expert 8TB
I am trying to link 5 tables. Do I need a field in each of the table that is the same?
You need Fields in each of the Tables to be Linked that are of the same Data Type, the Names of these Fields are irrelevant. The only exception to this rule is that an AutoNumber Field can be Linked to a Long Integer and this really isn't an exception.
Feb 7 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
I am trying to link 5 tables. Do I need a field in each of the table that is the same?
Have a look at this tutorial.

Normalisation and Table structures
Feb 8 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: John South | last post by:
I have an Access 2000 front end that I wish to work with a SQL Server 2000 database by means of Linked tables. Do I have to use an ODBC connection to SQL Server? It seems to be the only option...
2
by: Jeff Pritchard | last post by:
Some time ago I am sure I came across something that said this was possible, though it doesn't seem to work. A client wants to replace an Access back-end with SQL Server tables. We have tried...
0
by: gasturbtec | last post by:
please help im new at access programming and i just got this project dropped in my lap because the old programmer quit. i've been doing ok so far but now i need to add code to an existing database...
2
by: Matthew Wells | last post by:
Good morning... I have an Access front end that uses SQL Server linked tables. SQL Server uses Windows authentication. I have one Windows group that all Access users are a member of. I added...
1
by: chicane | last post by:
Hi I was wondering if anyone can give me some help/advice on the question below. I am working in visual studio 2008 express. I have an access database called engineers.mdf which I have saved...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.