Vcl.DBActns.TDataSetAction.DataSource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataSource: TDataSource read FDataSource write SetDataSource;

C++

__property Data::Db::TDataSource* DataSource = {read=FDataSource, write=SetDataSource};

Properties

Type Visibility Source Unit Parent
property public
Vcl.DBActns.pas
Vcl.DBActns.hpp
Vcl.DBActns TDataSetAction

Description

Provides access to the target of the action.

DataSource is the data source that represents the dataset on which the action performs its function. You can set this property to indicate the dataset that is the target of the action.

If you do not explicitly set the DataSource property, it is obtained from an active data-aware control when the action fires.

See Also