Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More bugs in the grid?
Message
From
25/06/1996 14:26:11
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Quebec, Canada
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00002715
Message ID:
00002902
Views:
34
>>this happens when u have multi-user settings (e.g
>>buffering)
>>and u try to delete a record u don't have a lock
>>on
>>
>>Arnon
>
>Yes, I am not messing with manual locks in this
>situation, I set buffering in the form to either
>Optimistic or Pessimistic. It doesn't happen
>without buffering, but it seems to me not many of
>the grid's bugs do happen unless buffering is set
>on.

The problem is FoxPro execute the DELETED EVENT BEFORE the new row receives the focus and refresh. Just put "THISFORM.Refresh" in the beforeRowColChange in the grid. Now, he execute the refresh and the row receives the focus before it is deleted.

Sonny Chouinard

FoxPro programmer
CHCA Informatique
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform