473,420 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,420 software developers and data experts.

What kind of replica?

Hi,

I'm trying to get familiar with the concept of replica's, but it still
confuses me a bit.
Here's my situation:

1) my database application, *.mdb file, should be distributed from time to
time to a friend of mine. His copy of the database is completely detached
from my database (no connection through shared networks, internet etc).
2) I'll keep the design master, my friend should only have replica's
3) the contents of all the tables of the replica I'll supply to him should
NOT be copied into his database. The only exception is the table Switchboard
items - so if a record is added to this table, then it should also be added
to my friend's replica.
4) Of course, the structure (=datadictionary) of tables, form's etc. should
be synchronized with the replica I'll supply to him.
5) there are several cascade deletes and referential integrity is being
enforced in the design master

How should I implement this? I was thinking of partial replica's . At first
this seemed to work, but then I suddenly got the error:

"the attempt to set a column in a partial replica violated the rule
governing partial replica's"

when I tried to delete a record in a table.
This error does NOT occur in the design master. Moreover, the error only
seems to occur in tables that are being referenced by foreign key's.

So how can I overcome this error? And is a partial replica the answer to
implement 1-5? Are there any better solutions?

Thanks a lot.
Dec 6 '05 #1
4 1497
On Tue, 6 Dec 2005 23:05:33 +0100, "Shiva" <sh***@gonzo.com> wrote:

You're not using replicas what they were designed for. Since it's an
advanced topic anyway, I would advise against it.
Rather split your db in front-end (everything else, and linked tables)
and back-end (tables), and send your friend a new front-end from time
to time. The Switchboard table can remain in the front-end.

For the occasional back-end db design change, write a script to bring
the user up-to-date. Use functions like CreateField, CreateIndex, etc.

Now you're mainstream, and much more likely to survive.

-Tom.

Hi,

I'm trying to get familiar with the concept of replica's, but it still
confuses me a bit.
Here's my situation:

1) my database application, *.mdb file, should be distributed from time to
time to a friend of mine. His copy of the database is completely detached
from my database (no connection through shared networks, internet etc).
2) I'll keep the design master, my friend should only have replica's
3) the contents of all the tables of the replica I'll supply to him should
NOT be copied into his database. The only exception is the table Switchboard
items - so if a record is added to this table, then it should also be added
to my friend's replica.
4) Of course, the structure (=datadictionary) of tables, form's etc. should
be synchronized with the replica I'll supply to him.
5) there are several cascade deletes and referential integrity is being
enforced in the design master

How should I implement this? I was thinking of partial replica's . At first
this seemed to work, but then I suddenly got the error:

"the attempt to set a column in a partial replica violated the rule
governing partial replica's"

when I tried to delete a record in a table.
This error does NOT occur in the design master. Moreover, the error only
seems to occur in tables that are being referenced by foreign key's.

So how can I overcome this error? And is a partial replica the answer to
implement 1-5? Are there any better solutions?

Thanks a lot.


Dec 7 '05 #2
Thanks for your reply.

You're not using replicas what they were designed for. Since it's an
advanced topic anyway, I would advise against it.
So then I wonder in what cases you'd use replicas anyway...
Rather split your db in front-end (everything else, and linked tables)
and back-end (tables), and send your friend a new front-end from time
to time. The Switchboard table can remain in the front-end.

For the occasional back-end db design change, write a script to bring
the user up-to-date. Use functions like CreateField, CreateIndex, etc.

Ok, that would be a way to do it. I'll search the Internet to find such a
script cuz my problem is such a common situation imho (and because of that
it surprise me a little that Access doesn't seem to have any standard
utilities (or VB-commands?) that resolves this problem easily).
Hopefully I'll find a script, otherwise I'll have to write it myself...
Dec 7 '05 #3
On Wed, 7 Dec 2005 09:57:54 +0100, "Shiva" <sh***@gonzo.com> wrote:

There are some articles at trigeminal.com about replication worth
reading. Bottom line: only use it for what it's designed for.

-Tom.

<clip>
So then I wonder in what cases you'd use replicas anyway... <clip>


Dec 7 '05 #4
>
For the occasional back-end db design change, write a script to bring
the user up-to-date. Use functions like CreateField, CreateIndex, etc.

Now you're mainstream, and much more likely to survive.

I've downloaded and installed the utility db explorer 3.0. It's allows you
synchronize metadata (=structure of tables etc) only; it automatically
generates commands like CreateIndex after comparing 2 two different
backends. It's easy and it works!!
Dec 9 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John Sims | last post by:
Hello All, Anybody out there know what this error is...I'm getting it while trying to create a partial replica from a full replica made from the design master. "The Partial Replica Wizard has...
8
by: Myo | last post by:
Hi all! I've replicated my Access DB using briefcase in winXP. All Autonumber PK changed to random number. They were increment b4. Fortunately i could recover it through my backup. I just want...
0
by: manning_news | last post by:
Using A2K. I've researched this newsgroup and can't find the answer to my question. As we all know, when a database is turned into a Design Master, another database is created called "Replica of...
0
by: manning_news | last post by:
Using A2K. I found a database front-end linked to a back-end which is a Design Master. I was advised in another newsgroup to not use the DM for a back-end; use the replica instead. So, there is...
1
by: MAILTONRK | last post by:
Hi, I am a Mainframe guy. I am working with MS access(maintaining a application) for the last 2 weeks. I had one master database and four replicas. One of my replica had trouble in...
4
by: rdemyan via AccessMonster.com | last post by:
I'm just starting to play with replication. It looks like it might work fairly well for what I need. I'm not in a good position to test what happens if two or more users try to sync their...
3
by: roypython | last post by:
Hello everyone. Your help is very much appreciated. I am trying to create partial replica from the design master. it all goes well until I try to set the filter using: repPartial.Filters.Append...
3
by: roypython | last post by:
Hello everyone. Your help is very much appreciated. I am using MS ACCESS 2003. I am trying to create partial replica from the design master. it all goes well until I try to set the filter using:...
3
by: PaulaCM | last post by:
Okay - so, I made some design changes in my Master Document and when I tried to synch them with the replica it told me that I couldn't (because I made design changes). I can't change the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.