Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updates with childgrid
Message
From
03/12/1997 10:12:44
Per Strid
Ps Optisk Data
Uppsala, Sweden
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Updates with childgrid
Miscellaneous
Thread ID:
00063560
Message ID:
00063560
Views:
89
I have created a table in a databasecontainer that uses a function to set a randomnumber as a unique index (customer ID). This was described in Sander, Brentnall, Gunn's book The visual guide to VFP 3.0. Now however, I add a childgrid to my form with orders placed by these customers. Now when I try to add something, VFP asks if I want to add a record to just the parenttable, only the childtable or both. If I want to add only to the child (new order) everything works out fine. But if I want to add a customer (parentrecord), VFP seems to miss my function to create a unique new cusomer ID, so this ends up blank. This is no good since my next uppdate ends up with a unique index error. How do I solve this?
Nothing is impossible, it's just more or less complicated!
Next
Reply
Map
View

Click here to load this message in the networking platform