FormDataSource.next Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the focus to the next record in the data source.
public:
override int next();
public override int next ();
override this.next : unit -> int
Public Overrides Function next () As Integer
Returns
A non-zero integer if the operation succeeds.
Remarks
The next method can be overridden on a form data source. Right-click the Methods node under the data source, point to Override Method, and then click next.
The following example overrides the next method on a data source to return the next record from a different data source.
int next()
{
return inventTrans_ds.next();
}