473,418 Members | 2,037 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,418 software developers and data experts.

create relationship between two tables

Hey,

I want to create links between my two tables. The primary keys of these
two tables are character variables, with length =11. I followed exactly
the instruction of Dummuy Book for ACCESS 2003. I click the primary key
of table A , and hold and move the mouse to table B. But nothing
happened. No line, no error reminders. Does anyone know what's
happened? Thanks.

Mindy

Nov 26 '05 #1
2 3047
The process is this

1) Open the Relationships window (Tools/Relationships)
2) Select the tables you want from the dialog presented
3) Click on the primary key field in the parent table and keep the left
mouse button (LMB) held down
While keeping the LMB pressed down drag the mouse over the child
table (the mouse pointer changes to a horizontal rectangle while you are
dragging)
Let go of the mouse button
A dialog appears which shows the Primary key of the parent table on
the left and the field you "hit" when you let go of the mouse button on the
right
Change the fields as appropriate if required.
At this point you can add extra fields if you are using a
multi-field key
You can then set the Enforce Referential integrity options if you
need to

4) Click on the Create button and you should now see a line between the
two tables.

Alternatively:-
1) Open the Relationships window (Tools/Relationships)
2) Select the tables you want from the dialog presented
3) Choose the Relationships/Edit Relationship menu item
4) Click on the Create New ... button
5) Select the Parent table where it says "Left Table Name"
Select the Child table where it says "Right Table Name"
Select the Primary key field from the Parent table where it says
"Left Column Name"
Select the Foreign key field from the Child table where it says
"Right Column Name"
--
Terry Kreft

"Mindy" <ma************@yahoo.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hey,

I want to create links between my two tables. The primary keys of these
two tables are character variables, with length =11. I followed exactly
the instruction of Dummuy Book for ACCESS 2003. I click the primary key
of table A , and hold and move the mouse to table B. But nothing
happened. No line, no error reminders. Does anyone know what's
happened? Thanks.

Mindy

Nov 26 '05 #2
Terry,

Thank you very much for the detail instructions. I will try today. Have
a nice day. :)

Mindy

Nov 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: js | last post by:
I need to create a relationship between a local table and tables on a linked server. I used the design table wizard and selected the relationship property wizard. In the reslationship property...
8
by: Andante.in.Blue | last post by:
Hello, I have just inherited a legacy Access 97 database. While going through it, I noticed something strange... its Relationships window (the one accessed by Tools --> Relationships) is almost...
2
by: Marco Simone | last post by:
Hi, I have 4 tables, tblCompany, tblA, tblB and tblC. tblA, tblB and tblC contain same type of data, they should be in one table, but since there are many fields, I split it into 3 tables. Each...
8
by: Brian S. Smith | last post by:
Hi gang, Please help. I've been through the Access help, searched the Web, and I can't seem to get a straight answer. As the Subject line suggests, I want to run a fairly simple VB/Access Sub...
3
by: teedilo | last post by:
Our MS SQL (SQL Server 2000) DBA has database privileges locked down pretty tightly. We end users/developers do not have administrator privileges for most databases. That arrangement has worked...
1
by: a.t.brooks | last post by:
I know this has been posted elsewhere, but none of the fixes in those posts seems to address the problem I have. First some background; I have two tables, Exp_info (containing the field "ExpID"...
27
by: max | last post by:
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB...
11
by: raylopez99 | last post by:
Keep in mind this is my first compiled SQL program Stored Procedure (SP), copied from a book by Frasier Visual C++.NET in Visual Studio 2005 (Chap12). So far, so theory, except for one bug...
0
by: Shootah | last post by:
Hi, I have succeeded in adding automated relationships with refference tables after importing an excel file created from a query to an Access database. However I have the following problem: ...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.