473,493 Members | 3,174 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Create Relationship in access - Pls help immediately

3 New Member
Hi,

I am a new member. i am designing a simple judicial database system. however after creating tables i am a bit confused on setting the relationships between tables :confused: here is the link of a snapshot of my table design and i wud highly appreciate if anyone cud help me on building the table relationships. Link: http://www.geocities.com/raji_mll/Relationships.JPG

The CaseID is the main primary key that links all my tables and we can have more than 1 student violation for a particular case.

thx a million,
Raj
Mar 10 '06 #1
6 8223
ashishm
13 New Member
Create Primary Key on CaseId Column in CaseInformation Table

Create Foreign Key on CaseId Column in all others table
Mar 11 '06 #2
Raji16
3 New Member
Create Primary Key on CaseId Column in CaseInformation Table

Create Foreign Key on CaseId Column in all others table
Thanks Ashish for ur suggestion...
Right now i have linked all my other tables to the case info table with CaseID. but is it OK to have a relationship that has multiple tables linked to a single table's primary key? :confused:

Also,should i create separate forms for data entry and to edit existing data?

Thanks,
Raj
Mar 13 '06 #3
ashishm
13 New Member
It is OK to have a relationship that has multiple tables linked to a single table's primary key. Links depend on the requirement.

Yes, sure you can create separate forms for data entry and to edit existing data.
Mar 14 '06 #4
lletsweletse
4 New Member
You need to know your primary key entity e.g for students the primary maybe ID number,student number or make it to be an auto number in your entities.Put your cursor on the entity you want it to be the primary key then in your toolbar you will find key symbol click it,you have choosen your primary.
Mar 14 '06 #5
lletsweletse
4 New Member
You should create independant formseither by using design view or wizards for data capturing
Mar 14 '06 #6
Raji16
3 New Member
It is OK to have a relationship that has multiple tables linked to a single table's primary key. Links depend on the requirement.

Yes, sure you can create separate forms for data entry and to edit existing data.
Ashish,

Thx again for ur suggestion :) . i have a main form(case information) with a subform(Student details). i have created an undo button to undo any changes made to the form. but it can undo only changes to the main form, not in the subform. i wud appreciate if anyone can send in the code to undo events in form as well as subform at the same time??

Thx,
Raj
Mar 15 '06 #7

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

Similar topics

9
2056
by: jon wayne | last post by:
OK! I had this nagging doubt Consider (without worrying abt access specifiers) class Kid : public Parent{...}; Parent::someFunc() { Kid k; }
8
7421
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...
6
22419
by: WindAndWaves | last post by:
Hi guys Thank you for all your previous answers. My new question is as follows: how do I create a folder/file browser in access 2003. That is, I would like the user to locate several files...
4
5990
by: Melissa | last post by:
I have a frontend file named CustomerApp and backend file named CustomerData. CustomerApp is at C:\Customer Database and CustomerData is at S:\Customer Database. Could someone help me with the code...
8
4303
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...
2
3050
by: Mindy | last post by:
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...
1
5450
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
3739
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...
0
1608
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: ...
5
4976
by: Yitzak | last post by:
Hi after adding a field to a table through VBA How do I create a foreign key constraint/relationship between this field and a field in another table - and enforce referential integrity through...
0
7119
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7195
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...
1
6873
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
7367
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
5453
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
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1400
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
644
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.