Partilhar via


FormDataSource.last Method

Definition

Moves the mouse pointer to the last record in the data source.

public:
 override int last();
public override int last ();
override this.last : unit -> int
Public Overrides Function last () As Integer

Returns

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.

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

Applies to