Examples: Properties property


The following procedure runs when the user clicks a button in a VBA user form. This example returns a collection of properties for the current data object:

Private Sub CommandButton_Click()
	Dim ItemCollection As DUOSObjects
	Dim ItemObject As DUOSObject
	Dim ItemProperties As DUOSProperties

	'Specify the collection
	Set ItemCollection = DUOSObjectsGet("Additional Item Info")
	'Specify an object in the collection with a unique object ID
	Set ItemObject = ItemCollection.Item("ITM002")
	'Get properties for the object
	ItemProperties = ItemObject.Properties
End Sub


Documentation Feedback