Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The record is deleted in local view
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00844174
Message ID:
00844353
Views:
17
>Hello Arryel,
>
>you've written:
>
>>>Have you tried adding a requery of the source of the grid that was updated just after returning from the editing form?
>
>It's probably not 'DELETED' but that the grid is still looking at the 'OLD' copy of the source table.<<
>
>No, I haven't. The thing is: as I add the record, it is seen on the view-grid. And it is in the source table (seen in another VFP-Session). Then I call the editing form to change this very record (NO CHANGES TO PRIMARY KEY!) and then I submit GATHER NAME to gather the changes back into the view and then Tableupdate(). I then refresh the underlying form with the grid and I see the changes saved to record!
>
>But as soon as I CLOSE THE EDITING FORM, the record disappears from the grid. It IS deleted, I can suspend the execution and see it in a browse with the black DeleteMark.

I'm guessing you're testing both forms from the same computer? What is the datasession for the two forms? If they're both in the same datasession, changes made in one may bash the changes made in another.
Previous
Reply
Map
View

Click here to load this message in the networking platform