| 4D v15.4Field | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v15.4
 Field 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field ( tableNum ; fieldNum ) -> fieldPtr | ||||||||
| Parameter | Type | Description | ||||||
| tableNum | Longint |   | Table number | |||||
| fieldNum | Longint |   | Field number | |||||
| fieldPtr | Pointer |   | Field pointer | |||||
| Field ( fieldPtr ) -> fieldNum | ||||||||
| Parameter | Type | Description | ||||||
| fieldPtr | Pointer |   | Field pointer | |||||
| fieldNum | Longint |   | Field number | |||||
The Field command has two forms:
The following example sets the fieldPtr variable to a pointer to the second field in the third table:
 FieldPtr:=Field(3;2)Passing fieldPtr (a pointer to the second field of a table) to Field returns the number 2. The following line sets FieldNum to 2:
 FieldNum:=Field(FieldPtr)The following example sets the FieldNum variable to the field number of [Table3]Field2:
 FieldNum:=Field(->[Table3]Field2)
	Product:  4D
	Theme:  Structure Access
	Number:  
        253
        
        
        
	
	Created:  < 4D v6
	
	
	
	
	4D Language Reference ( 4D v15.4)
	
	
	4D Language Reference ( 4D v15)
	
	
	
	
	
	4D Language Reference ( 4D v15.3)
 Add a comment
Add a comment