Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update conflict
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00143536
Message ID:
00143700
Views:
33
>This is strange.

You said a mouthful, there! :)

>Have you checked if the modal form's datasession is closing cleanly?

It seems to be. All the tables used by the modal form (in a private DS) are
also used by the first form, but the buffermode (which is 5 on the
modal form) is correct (1) on return to the first form. Can you think
of anything else I should check?

>What parematers are you giving with the TABLEUPDATE in form1?

Just .T. I realize I could solve this by forcing the update, but I'm
loath to do that.

>Do you get an update conflict when deleting a record besides the newly appended one?

No, I don't think so. It only seems to happen when the table is initially
empty, a record is added, then deleted. I have SET DELETED ON, and
the newly added record is actually recycled from a prior deleted record,
but browsing both the view and the underlying table after the add shows
the same records with the same values (especially the PK).

>If not, how do you suppose your view can tell the difference between a new and a previously existing record after a REQUERY?

That's what's baffling me. :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform