Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update conflict
Message
 
 
To
20/07/2005 10:53:08
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033855
Message ID:
01034272
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform