Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tableupdate and RI code
Message
De
20/09/2000 21:06:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Tableupdate and RI code
Divers
Thread ID:
00418816
Message ID:
00418816
Vues:
49
I have a very simple form designed to input new records into a parent-child situation, using a grid for the child records. When the Finish button is pressed everything works as excepted, until I add RI between the two tables (the must be a parent for children to exist).

The real kicker to this is if I debug and skip through the code (using a GEXTNEXTMODIFIED loop) all the children get added or if I put a messagebox before the TABLEUPDATE or even a WAIT with a timeout. Otherwise only the first child record is saved!!!

Is this another case of foxpro being too fast for its own good? If so, is there a better workaround as the children records could be as much as 999 (though usually no more then 100)??? Is there something in the Fox generated RI code that I need to change, add or delete?

I have VFP 6.0 and it's been service packed with 4, running on NT workstation 4.0 (SP4).
Répondre
Fil
Voir

Click here to load this message in the networking platform