nhbw19t
Posts: 29
|
| Posted: 09/21/2007, 8:55 PM |
|
Hello,
I have an editable grid that pulls the grid from an SQL statement, not from a table in the builder.
I am trying to update a hidden field if the checkbox is checked. I have this working on another editable grid pulling the data from a table in the builder.
Has anyone run into this issue?
if ($eg->checkbox->GetValue() == 1 ) {
$eg->ds->cp["status"]->SetValue(3); // works on the EG with a table source
$eg->ds->status->SetValue(3); //it sets the value, but does not update the SQL statement.
}
I have read the post about how to access the editable grid values, but it is not working in this case. I can issue a get Value on the status field in the before build update and the before execute update and see the new value. I echo the SQL and still doesn't update the value.
I have a custom update to update a single table with the status field set to be a control value.
Spent all day on thiss issue.
ccs2.3.latest
_________________
J.D. Archer
GE Transportation |