4D v13.4Get last field number |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
Get last field number
Get last field number
The Get last field number command returns the highest field number among the fields in the table whose number or pointer you pass in tableNum or tablePtr. Fields are numbered in the order in which they are created. If no field has been deleted from the table, then this command returns the number of fields that the table contains. In the case of iterative loops on the field numbers of the table, you must use the Is field number valid command in order to check whether the field has been deleted. The following project method builds the array asFields, consisting of the field names, for the table whose pointer is received as first parameter: $vlTable:=Table($1) |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D v11 SQL SEE ALSO
Field name |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||