ComponentOne True DataControl 8.0
Type Property (Field)

Sets/returns field data type.

Syntax

Field.Type = value

Remarks

Read/Write at run time and design time. Property applies to Field object.

 

Design Time

Run Time

11 – Boolean

tdbTypeBoolean

16 – Byte

tdbTypeByte

6 – Currency

tdbTypeCurrency

7 – Date

tdbTypeDate

5 – Double

tdbTypeDouble

2 – Integer

tdbTypeInteger

3 – Long

tdbTypeLong

4 – Single

tdbTypeSingle

8 – String (default)

tdbTypeString

12 – Variant

tdbTypeVariant

 

This property determines the variant data type of the field.

For data fields in data source mode, and for linked fields in any mode, the value is derived from the underlying data source, so this property cannot be changed.

For other fields, that is, for calculated fields and data fields in memory array and user events mode, the programmer must specify the field data type.

See True DataControl Fields for details.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback