Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ResetTransObject – PB Docs 2019 – PowerBuilder Library

ResetTransObject – PB Docs 2019

ResetTransObject

method (DataWindows)

Description

Stops a DataWindow control or DataStore from using the
programmer-specified transaction object that is currently in effect
through a call to the SetTransObject method. After you call the
ResetTransObject method, the DataWindow control or DataStore uses its
internal transaction object.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control, DataWindowChild object, DataStore
object

Syntax

PowerBuilder

Argument

Description

dwcontrol

A reference to a DataWindow control, DataStore, or
child DataWindow

Return value

Returns 1 if it succeeds and -1 if an error occurs. The return value
is usually not used.

If dwcontrol is null, the method returns null.

Usage

If you reset the transaction object and SetTrans has never been
called to set the values in the internal transaction object, call SetTrans
to set them or SetTransObject to establish a new programmer-specified
transaction object.

ResetTransObject is almost never used because programmer-specified
and internal transaction objects in one application are generally not used
together. Programmer-specified transaction objects, specified with
SetTransObject, provide better application performance. To change the
programmer-specified transaction object, simply call SetTransObject
again.

Examples

This statement stops dw_employee from using programmer-specified
transaction objects:

See also

GetTrans

SetTrans

SetTransObject


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