| 4D v18GET RELATION PROPERTIES | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 GET RELATION PROPERTIES 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET RELATION PROPERTIES ( fieldPtr|tableNum {; fieldNum}; oneTable ; oneField {; choiceField {; autoOne {; autoMany}}} ) | ||||||||
| Parameter | Type | Description | ||||||
| fieldPtr|tableNum | Pointer, Longint |   | Field pointer or table number | |||||
| fieldNum | Longint |   | Field number if the table number is passed as first parameter | |||||
| oneTable | Longint |   | One table number or 0 if no relation is defined from the field | |||||
| oneField | Longint |   | One field number or 0 if no relation is defined from the field | |||||
| choiceField | Longint |   | Choice field number or 0 if no choice field | |||||
| autoOne | Boolean |   | True = Auto relate one, False = Manual relate one | |||||
| autoMany | Boolean |   | True = Auto one to many, False = Manual one to many | |||||
The GET RELATION PROPERTIES command returns the properties of the relation (if any) which starts from the source field defined by tableNum and fieldNum or by fieldPtr.
You can pass:
Once the command has been executed:
Note: The autoOne and autoMany parameters will also return True if no relation starts from the source field (in this case they return non-significant values). The value of both the oneTable and oneField parameters allows you to make sure that a relation exists.
									GET FIELD ENTRY PROPERTIES
									
									GET FIELD PROPERTIES
									
									GET TABLE PROPERTIES
									
									SET AUTOMATIC RELATIONS
									
									SET FIELD RELATION
									
	Product:  4D
	Theme:  Structure Access
	Number:  
        686
        
        
        
	
	Created:  4D v6.7
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v18)
	
	
	
	
	
 Add a comment
Add a comment