I want add an extra calculated (or lookup) so I can build it's value runtime based on the data in the other fields of the same record.
Doubleclick on the query, add a field, set the type to calculated and then open the query.
Only one column exists, the calculated one which I just added design-time.
Because of
ZAbstractRODataSet.pas : 3735 (TZAbstractRODataset.InternalOpen)
Code: Select all
if ((FieldOptions.AutoCreateMode <> acExclusive) or not (lcPersistent in Fields.LifeCycles)) and not FRefreshInProgress then
Code: Select all
if Fields.Count <> 0 then
case FieldOptions.AutoCreateMode of
acExclusive:
Exit;