Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tableupdate and RI code
Message
From
20/09/2000 21:06:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Tableupdate and RI code
Miscellaneous
Thread ID:
00418816
Message ID:
00418816
Views:
48
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).
Reply
Map
View

Click here to load this message in the networking platform