of_setrequestor


pfcdwsrv.pbl   >   pfc_n_cst_dssrv   >   of_setrequestor   

Full name pfc_n_cst_dssrv.of_setrequestor
Access public
Extend of integer
Return value integer
Prototype public function integer of_setrequestor(n_ds)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setrequestor (n_ds ads_requestor);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetRequestor
//
//	Access:    Public
//
//	Arguments:
//   ads_requestor   The datawindow requesting the service
//
//	Returns:  None
//
//	Description:  Associates a datawindow control with a datawindow service NVO
//			        by setting the ids_requestor instance variable.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
// 6.0	Added function return code.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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 IsNull(ads_requestor) or Not IsValid(ads_requestor) Then
	Return -1
End If

ids_requestor = ads_requestor
Return 1
end function

     
Name Owner
pfc_n_ds.of_setbase pfc_n_ds
pfc_n_ds.of_setmultitable pfc_n_ds
pfc_n_ds.of_setreport pfc_n_ds
pfc_n_ds.of_setprintpreview pfc_n_ds

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data