Equinox Online Help - Language Reference - A to Z

Home

GroupLastRecord

Applies to
SyntaxGroupLastRecord GroupnameExpression
Action[Statement] Allows you to specify a group via the GroupnameExpression parameter rather than defaulting to the current group.
ScopeOnly usable in forms.
Notes

It finds the last record in the specified group. After the statement is executed, the SysError system workarea is set to one of the following values:

  • 0 The statement was executed successfully.
  • 1 An error occurred.
CategoryRecord navigation
See Also FirstRecord, GroupFirstRecord, GroupNextRecord, GroupPreviousRecord, GroupSkipRecord, LastRecord, NextRecord, PreviousRecord, SkipRecord
Example

This method selects an index which is based on the customer name and then finds the last record.

GroupSetIndex "STOCK", StockCode
GroupLastRecord "STOCK"