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_dw)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setrequestor (u_dw adw_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 datawindow control with a datawindow service NVO
//			        	by setting the idw_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(irte_requestor) Then
	Return -1
End If

If IsValid(adw_requestor) Then
	idw_Requestor = adw_Requestor
	Return 1
End If

Return -1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data