Subject dynamic NOEDIT ?
Author Oliver Wurdak
Hi

Under some conditions the user may not be able to change some columns in my
table.

my solution so far is

IB_DataSource.onDataChange(Sender: TIB_StatementLink; Statement:
TIB_Statement; Field: TIB_Column);
begin
if field<>nil then
if (field.FieldName='SomeColumn') then
if CheckCondition then IB_Query.RevertRecord;
end;

But the perfect solution would be that the column is in NOEDIT mode under
these condtions (the condition is dependend on some fieldvalues). Is there a
better way to accomplish this? I think it isnĀ“t possible to change the
IB_Query.FieldsReadOnly property to NOEDIT dynamically (this should be done
after changing the row).

thanks

Oliver