4D v14.3FIRST SUBRECORD |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
FIRST SUBRECORD
FIRST 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. FIRST SUBRECORD makes the first subrecord of the current subselection of subtable the current subrecord. All query, selection, and order by commands also set the current subrecord to the first subrecord. If the current subselection is empty, FIRST SUBRECORD has no effect. The following example concatenates the first and last names in child records stored in a subtable. It copies the names into the array atNames: ` Create an array to hold the names |
PROPERTIES
Product: 4D
HISTORY
Modified: 4D v11 SQL SEE ALSO
LAST SUBRECORD ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||