EPUB | CHM | PDF

TDataSet.Properties.Name

Top Previous Next

Designates the name of the dataset as referenced by other components.

Syntax:

property Name: TComponentName;

Description:

Use Name to change the name of a dataset to reflect its purpose in the current application. By default, the IDE assigns sequential names based on the type of the component, such as 'TMySQLTable1', 'TMySQLTable2', and so on.

When the name of the dataset is changed at design time, if any of the field components use the dataset name as a prefix to the field name, these field names are updated as well.