Previous Topic: Common Properties and MethodsNext Topic: Special Text Permitted Value Property Handling


Unique Attribute Properties

Each class in a COM Proxy has a unique set of properties based upon its procedure step import and export attributes. The import properties are read and write properties, whereas the export properties are read only. The name of each of these properties is the combination of the attribute's entity view name with its entity name and attribute names. The attribute's domain, length, decimal place value, and precision flag determine the type of these properties. See the following table:

CA Gen

VB Type

Note

Number and Length <= 4 and Decimal Places = 0

Integer

 

Number and Length >= 5 and Length <= 9 and Decimal Places = 0

Long

 

Number and Length <= 15 and (Decimal Places > 0 or Length >= 10)

Double

 

Number and Length > 15 without Decimal Precision

Double

Precision may be lost

Text or Mixed Text or DBCS Text

String

If attribute has permitted values, see special text permitted value property handling

Date

Date, String, or Long

See special Date Property Handling

Time

Date

 

Timestamp

Date

See special timestamp attribute property handling

Number with Decimal Precision

Variant

Variant contains Decimal type

BLOB

Variant

Unsigned char SAFEARRAY

For example, attributes ID (Number domain, length 3, 0 decimal places) and Name (Text domain, length 15) of entity view name IMPORT and entity Emloyee can be used as:

Op.ImportEmployeeId = 999
Op.ImportEmployeeName = "XXX(15)"