Icon View Incident Report

Minor Minor
Reported By: Tim Frost
Reported On: 8/18/2013
For: Version 1.02 Build 2
# 3938 TDataSet Component Allows Rows to be Edited Without the DataSet Being in an Editable Mode

I have a simple table and a form with a data-bound, read-only grid at the top, and data-bound fields which allow editing below. I can select a row at the top, edit the fields below (which starts a transaction in Dataset.BeforeUpdate), and then click a button to commit. Everything works. However I also have a panel in the bottom half where the user can click various things to construct a new string value for one of the fields. As soon as the user clicks anything, I start a transaction if there was not one started already.

On each change in the panel, the onchange events get me a new string to assign which I want to save in the database. I have tried saving it into the cell (where it appears), or into the field (where it appears) or into the dataset column (which causes it to appear in both the grid and the edit field). But on pressing commit, the database is not updated. Keying the same value manually in the edit field commits correctly.

Comments Comments
The problem was caused by the dataset allowing columns to be edited outside of an editable mode (Insert, Update, InitFind) without raising an exception. An exception is now raised in such circumstances.

Resolution Resolution
Fixed Problem on 8/20/2013 in version 1.03 build 1

Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial