Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I am attempting to only allow a user to edit one row in a grid at a time. I have a save button that calls code for the table update, but due to code that is specific to the current record I can't allow the user to move the record pointer. Any suggestions will be greatly appreciated.
>
>The effect you want can probably be achieved by using the BeforeRowColChange method of the grid. In this method, test first to see if a row or column change has been requested. If it is a row change, then test for whatever condition you will allow a change. If you fail that test, issue NODEFAULT, and the change will not be honored.
>
>Give this a try and tell us what you think.
Thanks, that sounds just like what I was looking for
James Naftel
Précédent
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