|Top Previous Next|
Returns a TForeignKey object from the foreign keys array.
function ForeignKey(ItemIndex: Integer): TForeignKey;
ItemIndex is the ordinal position of the foreign key you want to retrieve from the foreign keys array. You can get the number of columns in the table using the ForeignKeyCount method.
The return value is a TForeignKey type.