Information générale
Titre:
Tableupdate and RI code
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
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