Defining referential integrity in Paradox

I have to create a paradox database automaticly. For most tables i have
to define referential integrity rules.
There is no way to define them using LOCAL SQL. Im trying to create the
table first and then
use DBIDoRestructure to define the referential integrity rules with the
RintDesc structure. This doesn't seem to work properly. Is there anyone
with experience on this subject.

Thanks in advance,

Tauvic Ritter