Online Documentation for Advanced Data Export for RAD Studio VCL




property Captions: TStrings;



The Captions property is used in all TQExport4 descendant components, except TQExport4DBF and TQExport4SQL, and determines the column titles in the exported file. The name for each field is set by a separate string which looks as follows




where <field_name> is the name of one of the source fields, and <column_title> is the text string without such restrictions as quotation marks and apostrophes. The <field_name> is case-insensitive, and the spaces around the mark of equality are not taken into consideration. If the corresponding string for the field is not specified, the the default caption will be used as a column title (e.g. property Field.DisplayLabel, if ExportSource=esDataSet, or Column.Caption, if ExportSource=esListView). The Captions property works only if AllowCaptions is true.


See also:

ExportedFields property

CaptionRow property