Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
>>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement