RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.TableType Property

Indicates the database table structure for the table that this component represents.

Pascal
property TableType: TTableType;
C++
__property TTableType TableType;

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. 

 

IndexName 

TableName 

Creating and Deleting Tables 

Specifying the Table Type for Local Tables 

Using TTable 

Using TTable

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!