of_filter


pfcapsrv.pbl   >   pfc_n_cst_mru   >   of_filter   

Full name pfc_n_cst_mru.of_filter
Access protected
Extend of integer
Return value integer
Prototype protected function integer of_filter(string)

Name Datatype
No Data

Name Datatype
No Data

protected function integer of_filter (string as_filter);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_Filter
//
//	Access:		Protected
//
//	Arguments:
//	as_filter   String to filter the MRU datastore with.  Use "" to reset filter
//
//	Returns:		integer
//	SUCCESS = 1
//	ERROR = -1
//
//	Description:
//	Filter MRU datastore.  Use "" to reset filter
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.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(as_filter) then return -1

// set the filter
ids_mrukeys.setfilter(as_filter)

// filter the datastore
return ids_mrukeys.filter()
end function

     
Name Owner
pfc_n_cst_mru.of_save pfc_n_cst_mru
pfc_n_cst_mru.of_restore pfc_n_cst_mru

     
Name Owner
datastore.filter datastore
datastore.setfilter datastore
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data