of_SetTransObject


pfcmain.pbl   >   pfc_u_dw   >   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
No Data

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
pfc_n_cst_dwsrv_linkage.of_settransobject pfc_n_cst_dwsrv_linkage
w_resp_customer_search.pfc_postopen w_resp_customer_search
w_resp_employee.pfc_postopen w_resp_employee
w_resp_product.pfc_postopen w_resp_product
w_resp_stock.pfc_postopen w_resp_stock
w_resp_sales_order.pfc_postopen w_resp_sales_order
w_resp_salesperson.pfc_postopen w_resp_salesperson
pfc_w_selection.open pfc_w_selection

     
Name Owner
datawindow.settransobject datawindow
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data