4D v13.4

PREVIOUS SUBRECORD

Home

 
4D v13.4
PREVIOUS SUBRECORD

PREVIOUS SUBRECORD 


 

PREVIOUS SUBRECORD ( subtable ) 
Parameter Type   Description
subtable  Subtable in 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.

Example  

See the example for LAST SUBRECORD.

 
PROPERTIES 

Product: 4D
Theme: Subrecords
Number: 111

This command is deprecated and should not be used anymore

 
INDEX

Alphabetical list of commands

 
HISTORY 

Modified: 4D v11 SQL

 
SEE ALSO 

FIRST SUBRECORD
LAST SUBRECORD
NEXT SUBRECORD