Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create tables relation
Message
From
22/11/2006 14:19:14
 
 
To
22/11/2006 13:44:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01171587
Message ID:
01171892
Views:
6
>>>Some temporary directories are required. Also, RI must be disabled - or else, make sure you copy a parent table before you copy the child table.
>>
>>Hi Hilmar,
>>
>>Did you develop a technique for refilling the tables - disabling the RI or copying from the parent prior from the child ?
>
>At first, I copied the parent table first, then the child table. The information about parent-child relations can be obtained with adbobjects(ArrayName, "relation"). Only relations where the third part (byte) is "R" (restrict) are relevant.
>
>Later, I disabled the RI instead. I can do this, because I use TaxRI instead of standard Visual FoxPro RI. I recommend this tool (or perhaps other alternative RI builders, which I don't know).
>
>TaxRI produces code which is about 1/10 of the size of standard RI code, and much easier to debug (in case you ever need to debug RI).

Cool !

Thanks very much for the tips, I'll look for the TAXRI file at the downloads section.

Saludos

Cesar
Previous
Reply
Map
View

Click here to load this message in the networking platform