PC Review


Reply
Thread Tools Rate Thread

Access Relationships between Two Tables. . .

 
 
=?Utf-8?B?UkhpZ2dz?=
Guest
Posts: n/a
 
      4th Nov 2006
I do know how to do this; however I am having difficulties with the student
data files downloaded from www.course.com for 2003 Access Introductory book.

In Tutorial 3, Question 4: It reads: Define a one-to-many relationship
between the primary Recruiter table and the related Student tabe. Resize the
field lists, as necessary, to display all the field names. Select the
referential intgrity option and the cascade updates option for the
relationship.

I clicked on the icon for Relationships and in the Recruiter table the
Primary key is SSN; in the corresponding Student table, SSN is a foreign key
- therefore I should be able to make the relationship.

However, I go through the steps that I was taught and that are stated in the
book and I get a message popped up that says "M.O.A. cannot create this
relationship and enforce referential integrity..." going on to explain that
it is in violation.

It shouldn't be though; I have done this steps at least 100 times before and
continuing and every other time it has worked smoothly; until now.

Any suggestions or imput? Any/all will be appreciated, thank you for your
anticipated feedback.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIFdpY2tlcmF0aA==?=
Guest
Posts: n/a
 
      4th Nov 2006
It sounds like you likely have unmatched child records in the Student table.
Try selecting the Queries tab. Click on the New button. Select the last
wizard which is the Find Unmatched Query Wizard. Go through the various steps
of the wizard to create a query that will help you locate the offending
records.


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/ex...tributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

"RHiggs" wrote:

> I do know how to do this; however I am having difficulties with the student
> data files downloaded from www.course.com for 2003 Access Introductory book.
>
> In Tutorial 3, Question 4: It reads: Define a one-to-many relationship
> between the primary Recruiter table and the related Student tabe. Resize the
> field lists, as necessary, to display all the field names. Select the
> referential intgrity option and the cascade updates option for the
> relationship.
>
> I clicked on the icon for Relationships and in the Recruiter table the
> Primary key is SSN; in the corresponding Student table, SSN is a foreign key
> - therefore I should be able to make the relationship.
>
> However, I go through the steps that I was taught and that are stated in the
> book and I get a message popped up that says "M.O.A. cannot create this
> relationship and enforce referential integrity..." going on to explain that
> it is in violation.
>
> It shouldn't be though; I have done this steps at least 100 times before and
> continuing and every other time it has worked smoothly; until now.
>
> Any suggestions or imput? Any/all will be appreciated, thank you for your
> anticipated feedback.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Relationships (Oracle Tables) meyerryang Microsoft Access 1 23rd Jan 2008 04:02 AM
Access 2003 and Tables without Relationships Office MDF Microsoft Access Getting Started 3 9th Jan 2008 05:29 PM
Re: Dynamic retrieval of MS-Access Tables and Relationships =?Utf-8?B?c2FyYW4=?= Microsoft ADO .NET 0 1st Sep 2005 05:01 PM
Access can't see tables, forms, queries but can see relationships. =?Utf-8?B?a3Jpcw==?= Microsoft Access 2 12th Jul 2005 02:13 AM
Access creates new tables in my relationships Paula Microsoft Access Database Table Design 4 6th Oct 2003 04:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:47 PM.