TrkItemTypeGroupAttrib.Length (property)

property Length
Syntax: Long = object.Length
object.Length = Long
Description:
Represents the length of the Item type group attribute. The Schema Generator uses this length property to define size of column data type for the Group Attribute table. The length field is used by the Schema Generator only for the fields of string data types.

It can also be used to determine the length of a string column.

Example 1:

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

Example 2:

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