Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a view for input and update
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00983099
Message ID:
00983117
Vues:
21
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform