FormDataSource.last Method
Moves the mouse pointer to the last record in the data source.
Syntax
public int last()
Run On
Client
Return Value
Type: int
A non-zero value if the mouse pointer is successfully moved to the last record.
Remarks
The last method can be overridden on a form data source by right-clicking the Methods node under the data source, pointing to Override Method, and then clicking last.
Examples
The following example overrides the last method for the InventDim data source on the WMSOrderTransport form and returns the last record in the other data source that is used on the form.
int last()
{
return WMSOrder_ds.last();
}