Xbasic

OBJECT.FETCH_LAST Function

Syntax

.Fetch_Last([table as c])

Arguments

table

Character

Description

Moves to the last record in the query.

Discussion

The <OBJECT>.FETCH_LAST() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.FETCH_LAST() method moves to the last record in the current query.

Example

This script is attached to a button. It moves to the last record in the current query:

parentform.fetch_last()

This script is attached to a button. It moves to the last record in the embedded browse (called Items) on a form:

parentform:items.fetch_last()

Limitations

Desktop applications only.

See Also