Subject Re: [IBO] Make Calculated Field modifiable
Author fisch50de
--- In IBObjects@yahoogroups.com, "Alan McDonald" <alan@m...> wrote:
> > No, no chance. A calculated Field ist allways readonly.
> > (hardcoded in TIB_Statement.GetReadOnly(...) )
> >
> > I changed the code there, introduce a new constant as a
FieldAttribute.
> >
> > I will email you the code changes, so that you can decide, if to put
> > in the next release.
> >
> > Andreas Hesse
>
> COMPUTED in the context of IBO is not the same CACULATED at the server.
> COMPUTED means you can mess around with it on the client side
> Alan

Computed - a field, that is part of a SQL Select statement, but not a
real field in a table
Calculated - a field, that is NOT part of a SQL Select statement, but
calculated by source code in the OnCalculateFields event.

The problem is that even if I mark a calculated field as computed,
that the calculated field is allways readonly (see source Code of
TIB_Statement).