>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement