TrkItemTypeGroupAttrib.DataType (property)

property DataType
Syntax: String = object.DataType
object.DataType = String
Description:
Represents the data type information of the Item type group attribute. The Schema Generator uses the data type property to define column data type of Group Attribute table. This type accepts all SQL data type names as strings.

It can also be used to determine a column's current data type.

Example 1:

Dim oTrkItemTypeGroup As Object
Dim oTrkItemTypeGroupAttrib As Object
Set oTrkItemTypeGroup = oTrkItemType.TrkItemTypeGroups.Item("Body IDs")
Set oTrkItemTypeGroupAttrib = oTrkItemTypeGroup.TrkItemTypeGroupAttribs
MsgBox "data type:" & oTrkItemTypeGroupAttrib.DataType
...
...
...

Example 2:

Dim oTrkItemTypeGroupAttrib As Object
...
Set oTrkItemTypeGroupAttrib = oTADBRoot.TrkItemTypeGroupAttribs.Item("BODY COMPONENT","Body IDs")
MsgBox "data type:" & oTrkItemTypeGroupAttrib.DataType
...
...
...