subgang
Posts: 9
|
| Posted: 02/11/2008, 8:21 AM |
|
I've read a lot of suggestions on the common issue of Codecharge updating all rows in an editable grid. I wonder if:
a) Does the newest version of Codecharge offer a simpler way to do this
or
b) How would I go about this if I use a checkbox on each row, and only want to update rows with that checkbox selected? There must be a way to do this that is in line with the Codecharge architecture, since delete statements are executed conditionally for rows with the delete checkbox selected...
|
 |
 |
subgang
Posts: 9
|
| Posted: 02/11/2008, 12:27 PM |
|
I might be getting close -- I've added a column to the db table called editFlag and set default value for all rows to 0. Then I added a checkbox to the editable grid, unchecked value is 0 and checked value is 1.
Then I set the Custom Update type to table, and added a "where" parameter of:
editFlag <> editFlag (type: control)
But unfortunately if I set the type to anything other than 'database column', then I get the error that parameters are missing for the update to work.
Any help or suggestions would be greatly appreciated!
|
 |
 |
|