Access/VBA Library

formIndex Property

Get the index of the current selected form or change the pointer to the current selected form.

Syntax

clsIE.formIndex[ = newFormIndex]
Parts
Name Type Description
clsIE   The name of an object of type clsIE
newFormIndex Long Optional. The index of the form to be selected.
clsIEtag:clsIE

Remarks

  • When setting this property and newFormIndex does not match the number of forms, error 9 (Index out of range) is raised.
  • You can also select a form by its name using the selectFormByName method.

See also

  • selectFormByName