This example shows a little bit more complex referential integrity. The primary key of the parenttable is composed of three columns. These will all be referenced in the childtable. Note that paradoxquery is also capable of creating relationships to multiple tables. Also check out the declaration of the min and maxvalue (as a check table constraint).