of_filter


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_filter   >   of_filter   

Full name pfc_n_cst_dwsrv_filter.of_filter
Access public
Extend of integer
Return value integer
Prototype public function integer of_filter()

Name Datatype
No Data

Name Datatype
li_rc integer

public function integer of_filter ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_Filter
//
//	Access:    		Public
//
//	Arguments: 		None
//
//	Returns:  		Integer
//   					1 if it succeeds and -1 if an error occurs.
//
//	Description: 	Filters a datawindow and fires a message to the datawindow
//						to indicate that the current row may have changed.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_rc

// Check the dw reference.
If IsNull(idw_requestor) Or Not IsValid(idw_requestor) Then Return -1

// Filter the requesting datawindow.
li_rc = idw_Requestor.Filter() 

// Tell the datawindow that the buffer has changed and that the 
// current row may have new data.
idw_requestor.Event pfc_rowchanged ( ) 

Return li_rc
end function

     
Name Owner
pfc_n_cst_dwsrv_filter.pfc_filterdlg pfc_n_cst_dwsrv_filter

     
Name Owner
datawindow.filter datawindow
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_u_dw.pfc_rowchanged pfc_u_dw

     
Full name
No Data

     
Name Scope
No Data