TurboDB VCL Component Library

TTdbForeignKeyDef.ParentTableName

TTdbForeignKeyDef

Previous  Top  Next

Indicates the parent table for this foreign key constraint.

Delphi Syntax:

property ParentTableName: string;

C++ Syntax:

__property AnsiString ParentTableName = {read=GetParentTableName, write=SetParentTableName};

Description

ParentTableName must identify another table within the same database, to which the child table is related. The values of the child fields of each row in the child table must correspond to the values of the parent fields in one row in the parent table.