ACC: No Difference Between dbConsistent and dbInconsistent (114882)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q114882
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you use the dbConsistent and dbInconsistent (or DB_CONSISTENT and
DB_INCONSISTENT in version 2.0) constants with the OpenRecordset method in
code to create a recordset, it appears not to have any effect on the
editability of the recordset. That is, after creating a recordset using the
dbConsistent constant, you can change fields from the "one" side of a
one-to-many join.
This article assumes that you are familiar with Visual Basic for
Applications and with creating Microsoft Access applications using the
programming tools provided with Microsoft Access. For more information
about Visual Basic for Applications, please refer to your version of the
"Building Applications with Microsoft Access" manual.
NOTE: Visual Basic for Applications is called Access Basic in Microsoft
Access version 2.0. For more information about Access Basic, please refer
to the "Building Applications" manual.
CAUSE
If you select Enforce Referential Integrity and Cascade Update Related
Fields in the Relationships window for the one-to-many relationship in
question, the difference between dbConsistent and dbInconsistent is
nullified.
STATUS
This behavior is by design.
REFERENCES
For more information about using constants with the OpenRecordset method,
search the Help Index for OpenRecordset method.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kberrmsg kbprb kbProgramming KB114882 |
---|
|