ACC: Memo and OLE Fields in a Snapshot Are Not StaticLast reviewed: August 29, 1997Article ID: Q109717 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. Data contained in a snapshot that includes a Memo or OLE field can be changed if the data in the underlying table for the snapshot changes. 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 versions 1.x and 2.0. For more information about Access Basic, please refer to the "Introduction to Programming" manual in Microsoft Access version 1.x or the "Building Applications" manual in Microsoft Access version 2.0
CAUSEMicrosoft Access stores the contents of Memo and OLE fields differently than other data types. Memo and OLE field data is not stored in the data page holding the actual record. Instead, the data page holding the record contains an address pointer that specifies the data page(s) containing the data. When you create a snapshot, a static copy of the data page holding the record is copied. This copy contains only the address of the Memo or OLE information. If the actual Memo or OLE information is changed, the snapshot will look to the same data page and will find the changed information.
STATUSThis behavior is by design. The actual Memo or OLE information is not loaded into the snapshot in order to avoid performance degradation.
MORE INFORMATIONA snapshot is a copy of the record source data at the point in time when the snapshot was created. Unlike the data in a dynaset, snapshot data is not linked to data in the underlying tables. The snapshot data does not change as its underlying tables change.
Steps to Reproduce BehaviorYou can use the following sample function to demonstrate that a Memo field contained in a snapshot can be changed:
REFERENCESFor more information about snapshots, search the Help Index for "snapshots," or ask the Microsoft Access 97 Office Assistant. Keywords : JetRS kbprg IntpOle Version : 1.0 1.1 2.0 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbprb Solution Type : Info_Provided |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |