ODAC

TCustomSmartQuery.RefreshFields Event

Occures before an application posts changes for the current record to the database or cache.

Class

TCustomSmartQuery

Syntax

property RefreshFields: TDataSetNotifyEvent;

Remarks

Occurs before an application posts changes for the current record to the database or cache.

When Expand is True, write RefreshFields event handler to assign a value to the nonupdating fields.

Example

procedure quEmpRefreshFields(DataSet: TDataSet);
begin
   DataSet.FieldByName('DNAME').AsString:=
      quDept.FieldByName('DNAME').AsString;
end; 
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback