Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET DELETED not working ...Part II
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00115534
Message ID:
00115547
Views:
12
>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()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform