[mso] Re: Relationships

  • From: "Colli, Anthony G" <Anthony.Colli@xxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Tue, 22 Apr 2003 10:57:12 -0400

Karen-

 If I am not mistaken, when using Access 2000 in the situation you describe, 
there is only a single set of relationships. If for example in the database 
backend of your set up you had a relationship between a 'customer' table and a 
'orders' table on a column of 'custID', this relationship would appear in the 
front end application too. I a pretty sure this only work with access tables, 
if you were linked to Dbase or something else the relationships would not 
populate to the front end.

 In a situation where there may be multiple front ends working from the same 
.mdb backend it would make sense to create all the relationships on the 
backend. A single source of change.

 You can always add or delete relationships when querying the database. These 
relationships are not saved anywhere in the actual database schema. This is 
handy for querying data from sources that have been imported from Excel or some 
other flat file system.

 Relationships are used to create integrity in the database. You generally do 
not want a 'order' from a 'customer' who does not have a 'custID'. This would 
follow a business rule of "all orders must be from a customer". This is 
enforced in the database by a one to many relationship on 'orders' and 
'customers' on the column 'custID'. If the customer is in the 'customer' table 
then they have a 'custID', if not they must be added to the table first.

-Anthony



-----Original Message-----
From: Karen Willingham [ mailto:kwillingham@xxxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Monday, April 21, 2003 9:07 AM
To: 'mso@xxxxxxxxxxxxx'
Subject: [mso] Relationships


I have 2 mdb files. 1 has all the tables. The other has all the reports and
query and forms, I linked the tables to this file. I want to better
understand Relationships. I have the relationships set up on the mdb file
with the tables. Is that the best way? Should I have any relationships set
up on the reports mdb file too? If I do not do it just like the other file
would it mess things up?

Karen Willingham
Magnolia Marketing  of Lafayette
Sales/Graphics Dept.
(337) 593-7854





*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: