ACC97: CommitTrans Help Topic Uses dbFlushOSCacheWrites ConstantLast reviewed: August 29, 1997Article ID: Q165829 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. The Microsoft Access 97 Help topic "BeginTrans, CommitTrans, Rollback Methods" contains the following statements. In the Syntax section:
workspace.BeginTrans|CommitTrans[dbFlushOSCacheWrites]|RollbackIn the third paragraph of the Remarks section:
In a Microsoft Jet workspace, you can include the dbFlushOSCacheWrites constant with CommitTrans. This forces the database engine to immediately flush all updates to disk, instead of caching them temporarily.These statements are incorrect.
RESOLUTIONThe dbFlushOSCacheWrites constant was changed to dbForceOSFlush in Microsoft Access 97. Use the dbForceOSFlush constant or its numeric value, which is 1.
MORE INFORMATIONThe dbForceOSFlush constant only works if your database resides on a Microsoft Windows 95 or Windows NT computer. If the database file resides on another type of server, such as Novell Netware or Banyan Vines, dbForceOSFlush does not correctly command the operating system to flush all updates to disk. Keywords : DcmHlp kbprg SynFnc Version : 97 Platform : WINDOWS Hardware : x86 Issue type : kbprb Solution Type : Info_Provided |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |