Calculated Fields cause an error...
Posted: 21.08.2006, 10:31
Following Situation: I have a column containing a boolean value (it´s an integer: zero for false, anything else means true). To display it properly I´ve added a calculated field "_Mark" to the TZReadOnlyQuery. It displays an "X" when column "Mark" is not zero or a blank, when zero.
I display those Values in a DBgrid. OnDoubleClick I want to send an update-SQL (that works already) and then simply update the display with modifying the calculated field, because Closing on Re-opening the Query is too slow. But then I get an error: Dataset not in edit or insert mode. (I get a german message - I hope, I translated correctly.)
With ZEOS 6.1.x it worked.
I display those Values in a DBgrid. OnDoubleClick I want to send an update-SQL (that works already) and then simply update the display with modifying the calculated field, because Closing on Re-opening the Query is too slow. But then I get an error: Dataset not in edit or insert mode. (I get a german message - I hope, I translated correctly.)
With ZEOS 6.1.x it worked.