mljonzs
Posts: 124
|
| Posted: 01/02/2008, 12:26 PM |
|
I'm trying to figure out how to pick up and update a hidden field for editable grids without having to write a custom update routine.
Scenario: I have three fields on my editable grid, one text field containing a date, one hidden field containing the same date and one hidden field that is a flag to be set when users change the date field to a new date (this is verified by comparing the date text field to the hidden date field. If these two values are different, I want to update the hidden flag value when the record is updated.
I cannot seem to find the right place to put code to set the hidden flag value so it gets picked up for the DB update. The grid is a simple grid based on one table so I was hoping to not have to use a Custom Update.
Can anyone help me out with this? Is it necessary to write a custom update procedure to do what is described above? Or am I simply not getting some code placed into a correct event to allow me to change the hidden field's value and still get picked up in the update?
Thanks!
mlj
_________________
What does not begin WITH God, will end in failure!
|
 |
 |
|