DBActns.TDataSetRefresh
Contents |
Delphi Information
From DBActns.pas
TDataSetRefresh = class(TDataSetAction)
Unit: DBActns
Type: class
Inherited Class Members: DBActns.TDataSetRefresh Members
C++ Information
From DBActns.hpp
TDataSetRefresh = class(TDataSetAction)
Unit: DBActns
Type: class
Inherited Class Members: DBActns.TDataSetRefresh Members
Class Constructors & Destructors: DBActns.TDataSetRefresh Constructors
Description
TDataSetRefresh refreshes the records in a target dataset.
Add TDataSetRefresh to an action list to allow users to refresh a dataset with the most current data. Controls such as menu items and tool buttons linked to this action cause the target dataset to refetch its data.
TDataSetRefresh is designed to work with a TDataSource component as its target. You can explicitly provide this target by setting the DataSource property, or you can allow the action to infer the data source from an active data-aware control. TDataSetRefresh automatically disables itself if it does not have a target data source attached to an active dataset.