Table file structure

<< Click to Display Table of Contents >>

Navigation:  The Vo2Ado RDD > Appendices > File structures >

Table file structure

Previous pageReturn to chapter overviewNext page

ADO Data Files (ADF files) are ini files with the following section:

 

[Table Properties]

Connection=DEFAULT

TableName=EMPLOYEE

MaxRecords=1000

LockType=AdLockOptimistic

CursorType=AdOpenStatic

RecnoColumn=

WhereClause=

OrderByClause=

ColumnList=*

LongFieldNames=0

 

The section [Table Properties] contains the following values:

ConnectionThe name of the connection to use for this table
TableNameThe name of the table on the server
MaxRecordsThe maximum number of records to read from the server
LockTypeThe locking type to use (one of the LockTypeEnum values)
CursorTypeThe cursor type to use (one of the CursorTypeEnum values)
RecnoColumnThe column to use for record numbers
WhereclauseDefault where clause that will be used when opening the table.
OrderByClauseDefault order by clause that will be used when the table is opened in natural order (without index)
ColumnListList of columns that will be selected from the table
LongFieldNamesShould the RDD use field names longer than 10 characters

 

NOTE

The RDD (for performance reasons) does not validate the SQL statement generated based on the ColumnList, WhereClause and OrderByClause. If your server requires that the columns in the whereclause or orderby clause are included in the Column list, it is up to you to make sure that they are included !!!