Equinox Online Help - Language Reference - A to Z

Home

GroupFirstRecord

Applies to
SyntaxGroupFirstRecord 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 first 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, GroupLastRecord, GroupNextRecord, GroupPreviousRecord, GroupSkipRecord, LastRecord, NextRecord, PreviousRecord, SkipRecord
Example

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

GroupSetIndex "STOCK", StockCode
GroupFirstRecord "STOCK"