ACC95: Cannot Create Relationship with Local and Replicated Tables (138974)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
This article was previously published under Q138974 SYMPTOMS
Advanced: Requires expert coding, interoperability, and multiuser skills.
When you try to create a relationship between two tables in a replicated
database, you may receive the following error message:
You can't establish or maintain a relationship between a replicated
table and local table.
CAUSE
Microsoft Jet Replication does not allow you to create a relationship
between two tables if the following conditions are true:
- One table is replicated and the second is local. (That is, the second
table is not replicated; therefore, it is not dispersed throughout the
replica set.)
- The two tables are local and related (through referential integrity)
when you try to turn on the Replicable property for one of the tables.
- The two tables have different KeepLocal property settings.
RESOLUTION
If one table is replicated and the second is local, turn off the
Replicable property of the replicated table. Then, you can try to create
the relationship between the two local tables.
If two tables are local and related, when you try setting the Replicable
property, delete the relationship first. Then, try to turn on the
Replicable property for the two local tables.
If the two tables have different KeepLocal property settings, modify one
table's KeepLocal property so that it is the same as the setting in other
table. Then, try to create the relationship.
STATUS
This behavior is by design.
REFERENCES
For more information about creating relationships, search on the phrase
"relationship," and then view "Define relationships between tables"
using the Answer Wizard from the Microsoft Access for Windows 95 Help
menu.
Microsoft Access "Building Applications with Microsoft Access for Windows
95," version 7.0, Chapter 19, "Using Database Replication," pages 417-433
Modification Type: | Major | Last Reviewed: | 11/17/2000 |
---|
Keywords: | kberrmsg kbprb kbusage KB138974 |
---|
|