Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update conflict
Message
 
 
À
20/07/2005 10:53:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01033855
Message ID:
01034272
Vues:
16
>Now, I want to add a new record. I add a new record to Trans_Relateds, Relateds and Names. The first time I can save data, no problems. But the second time I'm getting an Update Conflict.
>
>If your underlying table has any default values (including auto-incrementing fields), you need to requery the view after saving the newly added record.

Thanks, Marcia. I found it to be the case, so I added this.requery() into OnSaveNew method. Everything now works fine.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform