Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Aaron,
I think this is simply because the field that you are in does not lose focus and update the value in the cell.
They are a number of ways this can be overcome, but one could be to force the focus to the process button before the click code runs. For example
PROCEDURE CLICK
IF NOT THIS.SetFocus()
RETURN
ELSE
*-- Do process code
ENDIF
RETURN
>I'm sure this is an easy one
>
>I have a grid wich is populated from a updatable view
>
>Don't usually like to use grids for data entry but in this case there is no other way to go
>
>The problem I'm having--
>
>The last field that i change on the grid doesn't get updated when I click a process button on the form unless i specifically click on the grid again although all others but the last one changed do .
>
>I'm not using data buffering- It seems to me that some grid method meeds to be ran to cause the last field changed to be updated
>
>I've tried refresh, doscroll, and click events on the grid and running a tablupdate command on the view from the command button, but the only thing that seems to work is that extra mouse click or changing records with the arrow keys.
>
>I would appriciate any advice on why grids behave this way and how to programatically deal with it
>
>Thanks in advance for your help
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