Item

ACCPAC Common Controls

AccpacOrganizations.Item

Returns an AccpacOrganization object from the collection based on its organization ID.

Function Item(OrgID As String) As AccpacOrganization
(default)

Parameters

OrgID

[in] the organization ID of the AccpacOrganization object in the collection

Return Value

Returns the AccpacOrganization object representing the company specified by the organization ID.

Remarks

Since the Item method is the default method of the collection, you do not have to specify "Item". For example, the following syntax forms are interchangeable:

Organizations.Item(OrgID)
Organizations(OrgID)