FormDataSource.next Method

Moves the focus to the next record in the data source.

Syntax

public int next()

Run On

Client

Return Value

Type: int
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.

Examples

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(); 
}

See Also

FormDataSource Class

FormDataSource.prev Method

FormDataSource.nextPage Method

FormDataSource.leave Method