The two methods provide different levels of control over database
transactions.
If you change the DataWindow object
If you change the DataWindow object associated with a DataWindow
control at runtime, you need to call the SetTrans or SetTransObject method
again.