of_setfind


pfcmain.pbl   >   pfc_u_rte   >   of_setfind   

Full name pfc_u_rte.of_setfind
Access public
Extend of integer
Return value integer
Prototype public function integer of_setfind(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setfind (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Event:  of_SetSearch
//
//	(Arguments: boolean
//   TRUE  - Start (create) the service
//   FALSE - Stop (destroy ) the service
//
//	(Returns:  Integer)
//
//	Description:  Starts or stops the DataWindow Search services.  
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

//Check arguments
If IsNull(ab_switch) Then
	Return -1
End If

IF ab_Switch THEN
	IF IsNull(inv_find) Or Not IsValid (inv_find) THEN
		inv_find = Create n_cst_rtefind
		inv_find.dynamic of_SetRequestor ( this )
		Return 1
	END IF
ELSE 
	IF IsValid (inv_find) THEN
		Destroy inv_find
		Return 1
	END IF	
END IF 

Return 0
end function

     
Name Owner
pfc_u_rte.destructor pfc_u_rte

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_cst_rtefind.of_setrequestor pfc_n_cst_rtefind

     
Full name
No Data

     
Name Scope
No Data