Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a view for input and update
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00983099
Message ID:
00983117
Views:
22
>How do I add a record only to the child portion of the view so my grid is populated with the added record immediately?

Steven,

If I'm understanding you correctly, it sounds like you have both the parent and child table defined in the view. Given that's the case, then it makes sense that the view would attempt to insert records into both tables since they're both in the view.

We use parameterized views in our application and limit the views to only contain references to the children tables. When the parent record changes, we update the parameters and requery the views. Then, any data changes would go to the children.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Reply
Map
View

Click here to load this message in the networking platform