Repository.Control.GetAllXfmeaControls

Gets a list of Xfmea controls associated with a project. Returns a cXfmeaControl object that represents the control resources.

Syntax
.Control.GetAllXfmeaControls

Example
This example assumes that Xfmea controls exist in the first available project of a repository.

VBA|VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository ListofControls cXfmeaControl MyRepository.Project.SetCurrentProject (1) ListofControls = MyRepository.Control.GetAllXfmeaControls NumberofElements Integer NumberofElements = UBound(ListofControls) - LBound(ListofControls) + 1 MsgBox (NumberofElements)