|
of_SetTransObject
|
|
Full name
|
pfc_u_dw.of_SetTransObject
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_SetTransObject(n_tr)
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_SetTransObject (n_tr atr_object);//////////////////////////////////////////////////////////////////////////////
// Public Function: of_SetTransObject
// Arguments: atr_object: transaction object to set for the datawindow
// Returns: Integer - 1 if it succeeds and -1 if an error occurs
// Description: Sets the transaction object that the datawindow will use
//////////////////////////////////////////////////////////////////////////////
// Rev. History Version
// 5.0 Initial version
//////////////////////////////////////////////////////////////////////////////
// Copyright © 1996-1999 Sybase, Inc. and its subsidiaries. All rights reserved. Any distribution of the
// PowerBuilder Foundation Classes (PFC) source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//////////////////////////////////////////////////////////////////////////////
integer li_rc
// Check arguments
if IsNull (atr_object) or not IsValid (atr_object) then return FAILURE
// Set the transaction object
li_rc = this.SetTransObject (atr_object)
if li_rc = 1 then
itr_Object = atr_object
end if
return li_rc
end function
Name
|
Owner
|
datawindow.settransobject |
datawindow
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|