Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted record not removed from grid with refresh()
Message
 
To
02/08/1999 13:16:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00248893
Message ID:
00248896
Views:
11
>In a grid with AllowAddNew=.T., a new record added with the DownArrow is then deleted with a CommandButton and thisform.mygrid1.refresh() is issued. Problem is that the appended and subsequently deleted record is not removed from the grid with refresh(). If the user does
>a PgUp to remove the record from view, and then PgDn it is gone!
>How can I remove the deleted record from the grid through code?
>Thanks.

Issue a GO TOP or LOCATE to move the grid away from the deleted record.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform