Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Grid and Deleted records
Message
 
 
À
19/11/2003 03:34:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00851299
Message ID:
00851351
Vues:
8
>Hi,
>
>I am using data grid to display a list of records.
>I am issuing a delete command on user click REMOVE button. However, it keeps on showing the record even though it is deleted.
>
>Set deleted is ON.
>I am refreshing the Grid after delete command.
>I am changing the record position using GO TOP.
>
>Here I noticed, that if I create a new record, and try deleting that record before issuing TableUpdate(), it will still show in Grid.
>
>But if I issue TableUpdate() and than give delete command, it refreshes the Grid.
>
>Please help!!

Hi.
To delete a record of a buffered table before TableUpdate() you have to issue TableRevert()
To force the Grid to refresh after the deletion try
Thisform.Grid1.SetFocus
KeyBoard '{Ctrl+Tab}{BackTab}'
HTH
Kamil
A moment of silence is our cosmic reset button.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform