INFO: Ideas to Consider When Using Transactions Visual Basic (145757)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
This article was previously published under Q145757 SUMMARY
When you are using the transaction statements to perform the processing on
your database records, you may want to structure the transaction processing
under certain guidelines. For example, you should try to keep your
transaction processing loop as small as possible. Do not try to execute a
large number of statements before performing a Rollback or CommitTrans
statement. Below is a brief list of ideas and possible problems that you
may encounter if you do not structure your transaction processing loop
under certain guidelines.
In later versions of Jet that come with Visual Basic 5.0 and 6.0, internal
automatic transactions are provided for DAO. Refer to page 74 in the "Guide
to Data Access Objects" manual for Visual Basic 5.0.
REFERENCES
For more information on Transactions and DAO please see the following
article in the Microsoft Knowledge Base:
170548
: PRB: DAO Transactions to ODBC Database Can Hang Application
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbinfo KB145757 |
---|
|