devxlogo

Using Database Transactions

Using Database Transactions

When you first start using the VB database functions, you might wonderwhy they call its engine JET–it seems to not fly. Using databasetransactions (search the online help for BeginTrans) might at first seemlike a technique you wouldn’t want to use, but it can significantly speedup your database manipulations. An easy way to get up to speed with thisfunctionality is to put a BeginTrans statement just before your dynasetupdate code and a CommitTrans statement just after it.

devx-admin

Share the Post: