SmartTags Collection

Microsoft Access Visual Basic

Show All Show All

SmartTags Collection

SmartTags SmartTag

Represents the collection of smart tags for a control on a form, report, or data access page.

Using the SmartTags Collection

To return a single SmartTag object, use the Item method or use SmartTags(Index), where Index represents the number of the smart tag.

Note  Unlike the SmartTags collections in Microsoft Excel and Microsoft Word, the SmartTags collection in Microsoft Access is zero-based. Therefore, the code control.SmartTags(0) returns the first smart tag for the specified control.