Fields after opening dataset readonly, although SetFieldsReadOnly is True
Posted: Fri 11 Sep 2020 13:05
When using an editable view I can' nt update some fields because they are created as readonly.
(I dont use persistent fields)
Setting Dataset.Options.SetFieldsReadOnly := False has no effect.
As a workaround I change then fields ReadOnly - property in code after opening.
In views I often use field definitions like
Such fields are readonly after open the query.
It would be very userfull, if such fields would be editable, if Dataset.Options.SetFieldsReadOnly is False.
So far I used IBObjects - there it works as expected.
Thanks
Frank Reim
(I dont use persistent fields)
Setting Dataset.Options.SetFieldsReadOnly := False has no effect.
As a workaround I change then fields ReadOnly - property in code after opening.
In views I often use field definitions like
Code: Select all
iif(db.id is null, 'F', 'T')
coalesce(u.sec$active, false)
It would be very userfull, if such fields would be editable, if Dataset.Options.SetFieldsReadOnly is False.
So far I used IBObjects - there it works as expected.
Thanks
Frank Reim