SAGE DATA OBJECTS > C#


sage line 50 sage line 100 sage line 50 training 50 line pos sage sage line 50 financial controller 100 line sage software 50 line sage software training 50 accounting line sage software sage line 50 software sage line sage line 50 training course 50 controller financial line sage v12 sage line 50 note 100 50 line sage 50 cheap discount line sage Searches done in April 2006 Count Search Term sage software sage accounting software sage payroll software sage software inc 100 line sage software 50 line sage software training act sage software sage payroll software training sage software training 50 accounting line sage software sage software mas 90 sage line 50 software accounting sage sales software sage payroll software course sage account software discount sage software sage accounting software uk sage book keeping software form sage software sage line50 software C# .NET Visual Basic .NET VB.NET Component OCX DLL Return to Sage Data Objects for .NET homepage FindNext Method

FindNext Method

The FindNext method finds the next matching entry in a file from the current record and makes the found entry the current record. To use this method you fill the varField with the name of the field in the object that you wish to search. Then fill the varSearch field with the value you are searching for, which can include a wild card (ie. MyField*)

Syntax

object.FindNext varField, varSearch

The FindNext method syntax has these parts;

Part Description
object An expression that evaluates to a Data object.
varField A string value that indicates the field name within the object that the FindNext is to search.
varSearch A string value that indicates the target value to be searched for. Note that this can include wild cards such as *

Return Values

The FindNext method returns one of the following values;

Value Description
-1 (TRUE) A match was found.
0 (FALSE) No match was found.