of_SetSort


pfcmain.pbl   >   pfc_u_dw   >   of_SetSort   

Full name pfc_u_dw.of_SetSort
Access public
Extend of integer
Return value integer
Prototype public function integer of_SetSort(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_SetSort (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//	Public Function:  of_SetSort
//	Arguments:		boolean
//   					true  - Start (create) the service
//   					false - Stop (destroy ) the service
//	Returns:			Integer - 1 if Successful operation, 0 = No action taken and -1 if an error occured
//						1 - Successful operation.
//						0 - No action taken.
//						-1 - An error was encountered.
//	Description:	Starts or stops the Sort Service.  This service
//						provides several sort dialogs and refinements.
//////////////////////////////////////////////////////////////////////////////
//	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.
//////////////////////////////////////////////////////////////////////////////
// Check arguments
if IsNull(ab_switch) then return FAILURE

if ab_Switch then
	if IsNull(inv_Sort) or not IsValid (inv_Sort) then
		inv_Sort = Create n_cst_dwsrv_sort
		inv_Sort.of_SetRequestor ( this )
		return SUCCESS
	end if
else 
	if IsValid (inv_Sort) then
		Destroy inv_Sort
		return SUCCESS
	end if	
end if

return NO_ACTION
end function

     
Name Owner
w_resp_customer_search.dw_master.constructor dw_master
w_resp_employee.dw_master.constructor dw_master
w_resp_sales_order.dw_master.constructor dw_master
w_resp_salesperson.dw_view.constructor dw_view
w_resp_salesperson.dw_master.constructor dw_master
pfc_u_dw.destructor pfc_u_dw
pfc_u_tabpg_dwproperty_buffers.dw_requestorview.constructor dw_requestorview
pfc_u_tabpg_dwproperty_services.pfc_propertyapplyimmediate pfc_u_tabpg_dwproperty_services

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv.of_setrequestor pfc_n_cst_dwsrv

     
Full name
No Data

     
Name Scope
No Data