Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The record is deleted in local view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00844174
Message ID:
00844296
Vues:
21
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform