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:
00844296
Views:
17
Hi,

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.

HTH,
Arriyel

>Hello,
>
>hier is a problem I actually have and don't have a slightest idea, in which direction to look for an explanation.
>
>I have a form with a pageframe with several pages. Nearly every page has a grid. The recordsources of the grids are local views.
>
>I must be able to add, delete and change records in one of these views. It has "buffering"=5. Every time I want to add or change a record in it, I open another (modal) form, SCATTER NAME ... BLANK or SCATTER NAME the fields, change them and either INSERT FROM NAME or GATHER NAME the result. It follows TABLEUPDATE().
>
>It is quite simple and it works but for one case: if I make a new record, Tableupdate() the view and close the editing form and then at once edit the same record without leaving the form with the grid, then this record is DELETED FROM THE VIEW as soon as I close the editing form!!!.
>
>The record is still in the original table. The field values are as if I haven't tried to edit the record.
>
>It must be some lack in my understanding...
Speak using soft and sweet words in case you have to eat them later.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform