Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET DELETED not working ...Part II
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00115534
Message ID:
00115547
Vues:
13
>Barbara,
>
>Hi, I posted this question a little bit ago, and I was wondering if I could get your opinion and see if you have any ideas that could help me to fix this.
>
>TIA
>
>Gil
Gil,

The rdelet4ed record will remain visible until it is scrolled out of view in the grid or you do something to get the grid to reread is recordsource. The suggestions you got of GOTO RECNO() probalby didn't work because RECNO()is now deleted. You will need to place the record pointer on an non-deleted record. Perhaps try a SKIP like this;
* Code to delete the current record
IF NOT EOF()
   SKIP
ELSE
   GO BOTTOM
ENDIF
THISFORM.Grid1.Refresh()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform