Bde.DBTables.TTable.TableType
Delphi
property TableType: TTableType read FTableType write SetTableType default ttDefault;
C++
__property TTableType TableType = {read=FTableType, write=SetTableType, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TTable |
Description
Indicates the database table structure for the table that this component represents.
Use TableType to specify the database table structure for a dBASE, Paradox, FoxPro or ASCII table. TableType does not apply to tables for remote SQL servers. TableType can be set to any of the following values:
Value | Meaning |
---|---|
ttDefault |
(Default) Determine table type based on file extension for the table. |
ttParadox |
Table is a Paradox table. |
ttDBase |
Table is a dBASE table. |
ttFoxPro |
Table is a FoxPro table. |
ttASCII |
Table is a text file with comma-delimited, quoted strings for each field |
DB or none |
Paradox table |
DBF |
dBASE table |
TXT |
ASCII table |
If TableType is set to ttDefault, the table's file-name extension determines the table type:
Extension | Meaning |
---|---|
DB or none |
Paradox table |
DBF |
dBASE table |
TXT |
ASCII table |
If TableType is ttParadox, ttDBase, ttFoxPro or ttASCII, the table type is assumed to be of the type specified, regardless of the table's file name extension.