Equinox Online Help - Language Reference - A to Z

Home

GroupNextRecord

Applies to
SyntaxGroupNextRecord 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 next record to the current one 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, GroupLastRecord, GroupPreviousRecord, GroupSkipRecord, LastRecord, NextRecord, PreviousRecord, SkipRecord
Example

This method selects an index which is based on the customer name, finds the first record and then goes to the next one.

GroupSetIndex "STOCK", StockCode
GroupFirstRecord "STOCK"
GroupNextRecord "STOCK"