of_isongoingfind


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_find   >   of_isongoingfind   

Full name pfc_n_cst_dwsrv_find.of_isongoingfind
Access protected
Extend of boolean
Return value boolean
Prototype protected function boolean of_isongoingfind(n_cst_findattrib)

Name Datatype
No Data

Name Datatype
lb_null boolean

protected function boolean of_isongoingfind (n_cst_findattrib anv_findattrib);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_IsOnGoingFind
//
//	Access:  		protected
//
//	Arguments:		
//	anv_findattrib	Copy of structure holding all find/replace flags.
//
//	Returns:  		Boolean
//						True - This is an ongoing find.
//						False - This is not an ongoing find.
//						Null - if an error occurrs.
//
//	Description:  	Determines if the current find operation is a brand new
//						Find or a FindNext operation.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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 required.
If IsNull(idw_requestor) Or Not IsValid(idw_requestor) Then
	boolean lb_null
	SetNull (lb_null)
	Return lb_null
end If

//Check if find/replace criteria was changed on visual object.
If IsValid(anv_findattrib) Then
	if NOT of_CompareAttrib(anv_findattrib) THEN
		Return False
	end if
End If

//Check that the current row is the same as the last found row.
If il_lastfindrow <> idw_requestor.GetRow() Then
	Return False
End If

//Check that the current column is the same as the last found column.
If idw_requestor.GetColumnName() <> is_lastfindcolumn Then
	Return False
End If

Return True
end function

     
Name Owner
pfc_n_cst_dwsrv_find.pfc_findnext pfc_n_cst_dwsrv_find
pfc_n_cst_dwsrv_find.pfc_replace pfc_n_cst_dwsrv_find

     
Name Owner
datawindow.getcolumnname datawindow
datawindow.getrow datawindow
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
systemfunctions.setnull systemfunctions
pfc_n_cst_dwsrv_find.of_compareattrib pfc_n_cst_dwsrv_find

     
Full name
No Data

     
Name Scope
No Data