TrkItemTypeGroupAttrib.AllowNulls (property)

property AllowNulls
Syntax: Boolean = object.AllowNulls
object.AllowNulls = Boolean
Description:
Determines if null values are allowed for the Item type group attribute. The Schema Generator uses the value of this property to determine whether a particular field in the Group Attributes should allow null values or not.

It can also be used to determine if a column currently allows null values.

Example 1:

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

Example 2:

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