DF_FILE_NUMBER_SQL_RELATIONS¶
Applies to: ORAFlex SQLFlex MYSQLFlex PGFlex DB2Flex
This attribute is used to get the number of foreign keys for a given table on the SQL backend. Foreign keys are used to specify relationships between tables. Since this attribute is ReadOnly, it cannot be used to set the number of foreign keys in a table. Note that this attribute returns only the number of foreign keys, no other information is provided with this attribute.
This is a ReadOnly attribute
Syntax
Get_Attribute DF_FILE_NUMBER_SQL_RELATIONS of {FileNumber} to {variable}
Parameter |
Description |
---|---|
FileNumber |
Number of the file |
variable |
Integer variable showing number of relationships |
Example
Open Customer
Integer iRelations
Get_Attribute DF_FILE_NUMBER_SQL_RELATIONS of Customer.File_Number to iRelations