version 11 (Modified)
NEXT SUBRECORD (subtable)
Parameter | Type | Description | |
subtable | Subtable | Subtable in which to move | |
to the next selected subrecord |
Compatibility note: Subtables are no longer supported starting with version 11 of 4D. A compatibility mechanism ensures the functioning of this command in converted databases; however, it is strongly recommended to replace any subtables with standard related tables.
Description
NEXT SUBRECORD moves the current subrecord pointer to the next subrecord in the current subselection of subtable. If NEXT SUBRECORD moves the pointer past the last subrecord, End subselection returns TRUE, and there is no current subrecord. If End subselection returns TRUE, use FIRST SUBRECORD or LAST SUBRECORD to move the pointer back into the current subselection. If the current subselection is empty, or Before subselection returns TRUE, NEXT SUBRECORD has no effect.
Example
See the example for FIRST SUBRECORD.
See Also
FIRST SUBRECORD, LAST SUBRECORD, PREVIOUS SUBRECORD.