Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make deleted go away in grid
Message
De
08/05/2000 23:24:19
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
 
 
À
08/05/2000 21:49:17
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00367473
Message ID:
00367487
Vues:
22
I have a similar form with a grid and a delete command button. In the click event I have:

mval=messagebox('Are you sure?',36,'Delete Record Question')

if mval = 6
delete
endif
thisform.grid1.refresh
thisform.grid1.setfocus


Set deleted is on. I think the thisform.grid1.refresh (your grid name may vary) is what you are missing??????? It seems to work for me.

Hope this helps!

Tom
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform