pfc_findnext


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_find   >   pfc_findnext   

Full name pfc_n_cst_dwsrv_find.pfc_findnext
Access public
Extend of long
Return value long
Prototype event long pfc_findnext(n_cst_findattrib)

Name Datatype
No Data

Name Datatype
ll_row long

event pfc_findnext;//////////////////////////////////////////////////////////////////////////////
//
//	Event: 			pfc_findnext
//
//	Arguments:
//	anv_findattrib Reference of search attributes
//
//	Returns:  		long
//						search results
//
//	Description:	This event is called to start the search
//						using the current attribute settings.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

long		ll_row

If ib_ongoingfind Then
	//Determine if this continues to be an Ongoing Find. 
	ib_ongoingfind = of_IsOnGoingFind(anv_findattrib)
End If

//Stored in the service the passed arguments.
inv_findattrib = anv_findattrib

//Build the find expression.
is_findexpression = of_BuildFindExpression(inv_findattrib.is_find, &
	inv_findattrib.is_lookdata[inv_findattrib.ii_lookindex])
If is_findexpression = '!' Then Return 0

//Perform the find operation.
ll_row = of_Find ()

//Return find row.
return ll_row
end event

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_dwsrv_find.of_buildfindexpression pfc_n_cst_dwsrv_find
pfc_n_cst_dwsrv_find.of_isongoingfind pfc_n_cst_dwsrv_find
pfc_n_cst_dwsrv_find.of_find pfc_n_cst_dwsrv_find

     
Full name
No Data

     
Name Scope
No Data