VB3 Speed Up Data Access by Using BeginTrans & CommitTrans (109830)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q109830 SUMMARY
You can speed up database operations by many times in a Microsoft Access
database by using transactions. A transaction starts with a BeginTrans
statement and ends with a CommitTrans or Rollback statement.
The sample program below is more than 17 times faster when using
BeginTrans/CommitTrans. Performance may vary on different computers.
REFERENCES- "Microsoft Developer Network News" newspaper, January 1994, Volume 3,
Number 1, published by Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 10/30/2003 |
---|
Keywords: | KB109830 |
---|
|