Developer Reference : Platform Management : Distributed Tuning Objects (DTO) Guide : Creating and Maintaining Catalogs and Dictionaries with DTO : DtoColumn Object
 
DtoColumn Object
This object represents a table column.
Properties
Decimal
Gets or sets the decimal places for a column
Flags
Gets or sets the flags for a column
ISR
Gets or sets the ISR for a column
Name
Gets or sets the Name for a column
Number
Gets or sets the ordinal of a column
Size
Gets or sets the size of the column
Type
Gets or sets the column type. This is an enumerated value. See Btrieve Types for a list of possible values.
TypeName
Returns a string value containing the type name.
Methods
None
Remarks
This object allows you to display properties of a specific table column.
Example
’ Instantiate and open dictionary
Dim dictionary as new DtoDictionary
Dim result as DtoResult
result = dictionary.Open("d:\MyDemodata")
 
’ Get STUDENT table from MyDemodata database
Dim students_table as DtoTable
Set students_table = dictionary.Tables("STUDENTS")
 
’ Get columns collection from STUDENT table
Dim students_cols as DtoColumns
Set students_cols = students_table.Columns
 
’ Retrieve first column and get its name
Dim first_col as DtoColumn
Set first_col = students_cols(1)
name = first_col.Name
See Also
DtoColumns Collection
DtoTable Object