ID: Q165829
The information in this article applies to:
Moderate: 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]|Rollback
In 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.
The dbFlushOSCacheWrites constant was changed to dbForceOSFlush in Microsoft Access 97. Use the dbForceOSFlush constant or its numeric value, which is 1.
The 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.
Additional query words:
Keywords : kbprg
Version : 97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb
Last Reviewed: November 20, 1998