Setting the transaction object for the DataWindow control – PB Docs 126

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:

  • Internal
    transaction management

  • A separate transaction object

The two methods provide different levels of control over database
transactions.

note.png If you are displaying a PSR file in the control

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.

note.png If you change the DataWindow object

If you change the DataWindow object associated with a DataWindow
control during execution, you might need to call the SetTrans or
SetTransObject method again.

PowerBuilder

You always need to call one of the methods to set the transaction
object.

Web ActiveX

You need to call SetTransObject again only when you are using a
separate transaction object.

These options are described in this section.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x