of_setrequestor


pfcapsrv.pbl   >   pfc_n_cst_rtefind   >   of_setrequestor   

Full name pfc_n_cst_rtefind.of_setrequestor
Access public
Extend of integer
Return value integer
Prototype public function integer of_setrequestor(u_rte)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setrequestor (u_rte arte_requestor);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetRequestor
//
//	Access:    		Public
//
//	Arguments:
// adw_Requestor   The datawindow requesting the service
//
//	Returns: 		Integer
//						1 if it succeeds and -1 if an error occurs.
//
//	Description:  	Associates a rte control with the service NVO
//			        	by setting the irte_requestor instance variable.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 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.
//
//////////////////////////////////////////////////////////////////////////////

If IsValid(idw_requestor) Then
	Return -1
End If

If IsValid(arte_requestor) Then
	irte_requestor = arte_requestor
	Return 1
End If

Return -1
end function

     
Name Owner
pfc_u_rte.of_setfind pfc_u_rte

     
Name Owner
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data