|Subject||Re: [IBO] Field reference in OnCalculateField with CalculateAllFields=True|
> Hi, I know that in the OnCalculateField event you have not toARow.ByName( 'MYFIELD' )
> reference to the field with "FieldByName" stuff but using the Arow,
> Afield variables, so you are in sync with the current buffer line.
> But if I set CalculateAllFields=True, how can I access the fields?
> Could you show me the correct approach/syntax?
returns a column reference, exception occurs if 'MYFIELD' is not
ARow.GetByName( 'MYFIELD', ACol )
the column reference returns in ACol (the var parameter) and the
function returns true. If the column does not exist then the
function returns false.
See TIB_Row in the online help for more information.