Setting the transaction object for the DataWindow control
There are two ways to handle database connections and transactions
for the DataWindow control. You can use:
A separate transaction object
The two methods provide different levels of control over database
You do not need to use a transaction object or make a database
connection if you are displaying a PSR file in the DataWindow control.
If you change the DataWindow object associated with a DataWindow
control during execution, you might need to call the SetTrans or
SetTransObject method again.
You always need to call one of the methods to set the transaction
You need to call SetTransObject again only when you are using a
separate transaction object.
These options are described in this section.