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:
00116375
Views:
16
>Main problem: >>I have the strangest thing happening (again). I have set deleted ON in my form, and a grid which its data source is a view. On the lostfocus method I have code that deletes the current field if empty, so, when I press ENTER, it fires the code, deletes the record and takes it out of sight(set deleted working), but, when I use the arrow UP key, it fires the code, deletes the record but STILL I can see it on the grid (set deleted not working), inclusive, the delete mark shows to the left of the grid. What's going on? Why this type of behaviour on something so basic? I've used REFRESH and everything you can think of, but nada.


--snip--

Gil, sorry for taking so long,

First, have you followed the code through with the debugger to see if there are any differences between the code fired with enter and with the up/down arrows? There must be some code here, because normally you can't leave a grid with these keys.

Second, I'd like to hear your answers to Larry's 3 questions. That may give us a clue.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform