ReadOnly Field
Posted: 07.08.2018, 13:25
i have regression from 7.1 for firebird 2.5 (FB 3.x is ok)
im feeding dataset from complex query and for firebird 2.5 fields are set As ReadOnly = true and i'm getting Field 'my_field' cannot be modified
it's part of a bit complex system that is automatically loading and applying changes
load actual data
if some external changes happens, notify app by events
app loads dataset diff from db and tries to apply changes in original dataset
for this i need to modify original dataset (delete/insert) but for firebird 2.5 when i call e.g. `DataSet.FieldByName('id').AsInteger := InsertId` i'll get Field 'id' cannot be modified
im feeding dataset from complex query and for firebird 2.5 fields are set As ReadOnly = true and i'm getting Field 'my_field' cannot be modified
it's part of a bit complex system that is automatically loading and applying changes
load actual data
if some external changes happens, notify app by events
app loads dataset diff from db and tries to apply changes in original dataset
for this i need to modify original dataset (delete/insert) but for firebird 2.5 when i call e.g. `DataSet.FieldByName('id').AsInteger := InsertId` i'll get Field 'id' cannot be modified