Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot update data in multi-table view
Message
De
07/06/2006 11:55:00
 
 
À
07/06/2006 11:25:41
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 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01127605
Message ID:
01127614
Vues:
10
Views are good, but I would never have a single view that updates multiple tables. One view per table. Additionally, I never allow the user to enter the primary keys. Surrogate keys solve the problem.


>Hi All,
>
>In a view that contains a relationship between two tables, my intention is that when the key field on the main table is changed, the view changes its display in the child table to update data pertaining to the changed key field, or none at all, if there is no such similar field. However, this is not happening, and the data in the child table displays the same original data. Could somebody help?
>
>This could be just out of the VFP starter kit, but I do not use views too often, preferring to use tables directly in the dataenvironment.
>
>Regards,
>
>Steve.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform