of_getfilter


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_filter   >   of_getfilter   

Full name pfc_n_cst_dwsrv_filter.of_getfilter
Access public
Extend of string
Return value string
Prototype public function string of_getfilter()

Name Datatype
No Data

Name Datatype
ls_filter string

public function string of_getfilter ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_GetFilter
//
//	Access:    		Public
//
//	Arguments: 		None
//
//	Returns:   		String
//						The current filter expression
//
//	Description: 	Get the current filter expression.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

string ls_filter

// Check the dw reference.
If IsNull(idw_Requestor) Or Not IsValid(idw_Requestor) Then Return ''

// Get the current filter
ls_filter = idw_Requestor.Describe ( "DataWindow.Table.Filter" ) 

// A questionmark indicates no filter set.
If ls_filter='?' Then ls_filter = ''

Return ls_filter
end function

     
Name Owner
pfc_n_cst_dwsrv_filter.of_setfilter pfc_n_cst_dwsrv_filter
pfc_n_cst_dwsrv_filter.of_buildfilterattrib pfc_n_cst_dwsrv_filter

     
Name Owner
datawindow.describe datawindow
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data