PC Review


Reply
Thread Tools Rate Thread

Creating Relationship with Linked Table

 
 
=?Utf-8?B?SmFzb25T?=
Guest
Posts: n/a
 
      29th Jun 2005
I have an Access table that is linked to an ODBC database. I am trying to
create a one-to-many relationship between this table and two other tables in
the same Access db that are not linked. I've noticed that the check box to
enforce referential integrity or cascade update is not available while
creating the relationships. Is there a way to enforce referential integrity
in this situation?
Thank You,
Jason
 
Reply With Quote
 
 
 
 
Marshall Barton
Guest
Posts: n/a
 
      30th Jun 2005
JasonS wrote:

>I have an Access table that is linked to an ODBC database. I am trying to
>create a one-to-many relationship between this table and two other tables in
>the same Access db that are not linked. I've noticed that the check box to
>enforce referential integrity or cascade update is not available while
>creating the relationships. Is there a way to enforce referential integrity
>in this situation?



No. The database engine that manages the data is
responsible for referential integerity. A front end is only
asking the backend db engine to retrieve the data so there
is no way it can be sure that referential integrity is
properly maintained.

--
Marsh
MVP [MS Access]
 
Reply With Quote
 
=?Utf-8?B?SmFzb25T?=
Guest
Posts: n/a
 
      1st Jul 2005
Ok then - thanks for the info.

"Marshall Barton" wrote:

> JasonS wrote:
>
> >I have an Access table that is linked to an ODBC database. I am trying to
> >create a one-to-many relationship between this table and two other tables in
> >the same Access db that are not linked. I've noticed that the check box to
> >enforce referential integrity or cascade update is not available while
> >creating the relationships. Is there a way to enforce referential integrity
> >in this situation?

>
>
> No. The database engine that manages the data is
> responsible for referential integerity. A front end is only
> asking the backend db engine to retrieve the data so there
> is no way it can be sure that referential integrity is
> properly maintained.
>
> --
> Marsh
> MVP [MS Access]
>

 
Reply With Quote
 
Bas Cost Budde
Guest
Posts: n/a
 
      1st Jul 2005
It is unlikely that you let your users edit straight into the table,
though. And when using a form, there is more at your disposal.
You can use various events on the form and write your own 'referential
integrity' code to enforce it, as long as the user uses the form.

JasonS wrote:

> I have an Access table that is linked to an ODBC database. I am trying to
> create a one-to-many relationship between this table and two other tables in
> the same Access db that are not linked. I've noticed that the check box to
> enforce referential integrity or cascade update is not available while
> creating the relationships. Is there a way to enforce referential integrity
> in this situation?
> Thank You,
> Jason


--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
For human replies, replace the queue with a tea

 
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
Linked Table Relationship Not Visible in Front End Tom Microsoft Access Database Table Design 1 14th Oct 2008 11:58 PM
Creating a table and relationship for counseling notes question Mike Microsoft Access 2 7th Feb 2008 06:26 PM
Creating a relationship with a linked table =?Utf-8?B?c2N1YmFkaXZlcg==?= Microsoft Access Database Table Design 3 28th Mar 2007 01:16 AM
Creating a relationship with a linked table =?Utf-8?B?QW15?= Microsoft Access 2 14th Mar 2007 12:41 AM
VBA : Relationship between two linked table Franck Microsoft Access 0 29th Sep 2006 06:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:31 AM.