Information générale
Catégorie:
Codage, syntaxe et commandes
>>In my form, I am using Optimistic buffering. Since the form uses a grid to
>>navigate the table, and textboxes to change the rest of the fields, a Save
>>button is not needed.
>>Where is my best place to put the tableupdate() command. Is there a method on
>>the form or in the grid, to perform tableupdate() whenever a value chages.
>
>I think that you'd want to do a GETFLDSTATE(-1) in the grid's
>BeforeRowColChange, and if there was a 2, 3, or 4 in the returned string, you'd
>want to ask the user whether to save or cancel changes.
Stopping the flow of a user in a grid with a dialog box constantly asking if you want to save or cancel your changes would, in my opinion, greatly impede the users ability to get work done. If data entry errors are created, the user will eventually fix them. If the data entry does require strict editing, I'd be inclined to not use a grid for it.
Steve
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