4D v16.3

Is field number valid

Home

 
4D v16.3
Is field number valid

Is field number valid 


 

Is field number valid ( tableNum | tablePtr ; fieldNum ) -> Function result 
Parameter Type   Description
tableNum | tablePtr  Longint, Pointer in Table number or Pointer to table
fieldNum  Longint in Field number
Function result  Boolean in True = field exists in the table False = field does not exist in the table

The Is field number valid command returns True if the field whose number is passed in the fieldNum parameter exists in the table whose number or pointer is passed in the tableNum or tablePtr parameter. If the field does not exist, the command returns False. Keep in mind that the command returns False if the table containing the field is in the Trash of the Explorer.

This command can be used to detect any field deletions, which create gaps in the sequence of field numbers.



See also 

Get last table number
Is table number valid

 
PROPERTIES 

Product: 4D
Theme: Structure Access
Number: 1000

This command can be run in preemptive processes

 
HISTORY 

Created: 4D v11 SQL

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)