FireDAC.Comp.BatchMove.Text.TFDBatchMoveTextDriver.DataDef
| [–] Properties | |
|---|---|
| Type: property | |
| Visibility: published | |
| Source: FireDAC.Comp.BatchMove.Text.pas FireDAC.Comp.BatchMove.Text.hpp
| |
| Unit: FireDAC.Comp.BatchMove.Text | |
| Parent: TFDBatchMoveTextDriver | |
Delphi
property DataDef: TFDTextDataDef read FDataDef write SetDataDef;
C++
__property TFDTextDataDef* DataDef = {read=FDataDef, write=SetDataDef};
Description
Use the DataDef property to specify the peculiarities of the source or destination file.
The DataDef property allows you to specify the text format details. The main subproperties are:
- RecordFormat: Allows you to quickly choose a predefined text format.
- Delimiter: Specifies a value delimiter, such as <double quote> or <single quote>.
- Separator: Specifies the value separators, such as <semicolon> or <tab>.
- WithFieldNames: Specifies when a text data starts with the line containing field names.
- Fields: A collection specifying the text fields.
For more information go to TFDTextDataDef.