Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding New record - Updating key in underlying table
Message
De
15/02/2005 16:53:21
 
 
À
15/02/2005 13:20:37
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 SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00987119
Message ID:
00987223
Vues:
32
Craig,
There may be a way to handle it as you suggest, but I'm not "seeing it".
The calculated key (IrKey) needs to be reflected in the child record (Ii table), but this value has not been commited until after the parent (Ir table) insert has occured. Where would I handle this? I could do it in the Save method, but would have to have some way of knowing which child records were newly added, and "relate" it/them to the newly added parent.

Where/how do you deal with this situation.

Michael
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform