A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

help with referential integrity



 
 
Thread Tools Display Modes
  #1  
Old December 14th, 2004, 07:03 PM
JSF
external usenet poster
 
Posts: n/a
Default help with referential integrity

I have a database that is the design master.
I had copied a table (i assume the parent)and pasted it(table 2). It was
redesigned to fit my needs. I then created another table(table 3) from the
make-a-table query. What I want to be able to do is to make corrections in
one table(table 3) that are also reflected in the other (table 2). I am able
to make a one to one relationship with all the integrity options but when I
try to make corrections in either table, I get an error saying that the
object specified cannot be replicated because it is missing a necessary
resource. How do I fix it?
  #2  
Old December 15th, 2004, 01:32 AM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Tue, 14 Dec 2004 11:03:02 -0800, JSF
wrote:

I have a database that is the design master.
I had copied a table (i assume the parent)and pasted it(table 2). It was
redesigned to fit my needs. I then created another table(table 3) from the
make-a-table query. What I want to be able to do is to make corrections in
one table(table 3) that are also reflected in the other (table 2). I am able
to make a one to one relationship with all the integrity options but when I
try to make corrections in either table, I get an error saying that the
object specified cannot be replicated because it is missing a necessary
resource. How do I fix it?


You're on the WRONG TRACK.

Storing data redundantly in two tables, and expecting relationships to
automagically copy data from one table to another (other than copying
the Primary Key to the Foreign Key) is *never* a good idea. One to one
relationships are *not* designed to do this.

Replicated tables have several extra hidden fields to handle
ReplicaID's; a MakeTable query will not add these unless you
explicitly include them *and* have a very solid understanding of
Replication. There are perhaps three people in the world who have such
an understanding and I'm not one of them!


John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
  #3  
Old December 16th, 2004, 03:31 PM
JSF
external usenet poster
 
Posts: n/a
Default

Ah SHucks. I was using the duplicate table as a base to create a report from
various non database sources like excel spread sheet. And as I found errors
I was hoping to eliminate the need to correct each table separately.

JSF

"John Vinson" wrote:

On Tue, 14 Dec 2004 11:03:02 -0800, JSF
wrote:

I have a database that is the design master.
I had copied a table (i assume the parent)and pasted it(table 2). It was
redesigned to fit my needs. I then created another table(table 3) from the
make-a-table query. What I want to be able to do is to make corrections in
one table(table 3) that are also reflected in the other (table 2). I am able
to make a one to one relationship with all the integrity options but when I
try to make corrections in either table, I get an error saying that the
object specified cannot be replicated because it is missing a necessary
resource. How do I fix it?


You're on the WRONG TRACK.

Storing data redundantly in two tables, and expecting relationships to
automagically copy data from one table to another (other than copying
the Primary Key to the Foreign Key) is *never* a good idea. One to one
relationships are *not* designed to do this.

Replicated tables have several extra hidden fields to handle
ReplicaID's; a MakeTable query will not add these unless you
explicitly include them *and* have a very solid understanding of
Replication. There are perhaps three people in the world who have such
an understanding and I'm not one of them!


John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
referential intergrity Russ General Discussion 2 November 24th, 2004 02:00 PM
error about referential integrity in a sub form Andrew Using Forms 8 November 19th, 2004 01:19 AM
Setting up relational integrity with only one of two key fields Linda V Database Design 4 August 21st, 2004 06:51 PM
Enforcing ref. integrity between MDB files Dirk Database Design 3 June 9th, 2004 04:10 AM
Referential integrity in many-to-many? Bruce Database Design 2 June 2nd, 2004 03:19 PM


All times are GMT +1. The time now is 05:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.