FormDataSource.next Method [AX 2012]

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

public int next()

Run On

Client

Return Value

Type: int
A non-zero integer if the operation succeeds.

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

Community Additions

ADD
Show: