4D v14.3PREVIOUS SUBRECORD |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
PREVIOUS SUBRECORD
|
PREVIOUS SUBRECORD ( subtable ) | ||||||||
Parameter | Type | Description | ||||||
subtable | Subtable |
![]() |
Subtable in which to move to the previous selected subrecord | |||||
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.
PREVIOUS SUBRECORD moves the current subrecord pointer to the previous subrecord in the current subselection of subtable. If PREVIOUS SUBRECORD moves the pointer before the first subrecord, Before subselection returns TRUE, and there is no current subrecord. If Before 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 End subselection returns TRUE, PREVIOUS SUBRECORD has no effect.
See the example for LAST SUBRECORD.
Product: 4D
Theme: Subrecords
Number:
111
Modified: 4D v11 SQL
FIRST SUBRECORD
LAST SUBRECORD
NEXT SUBRECORD
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)