Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make deleted go away in grid
Message
From
08/05/2000 23:24:19
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
 
 
To
08/05/2000 21:49:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00367473
Message ID:
00367487
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform