AnyDAC
ContentsIndexHome
PreviousUpNext
TADCustomUpdateObject.DataSet Property

Identifies the dataset on which change log update object will operate.

Group
Links

TADCustomUpdateObject uses the DataSet property for two purposes:

  • It fetches the original and updated field values from this dataset when performing parameter substitution.
  • If this dataset is a TADRdbmsDataSet descendant, it uses its Connection and ConnectionName properties to identify the connection that it uses when performing its update queries.

If you are using a single update object, then the DataSet property is set automatically when you set the source dataset's UpdateObject property. If you are using multiple update objects, you must set the DataSet property at runtime in an OnUpdateRecord event handler.

property DataSet: TADAdaptedDataSet;
What do you think about this topic? Send feedback!