#7534
Support 3
Participant

See below a sample code to iterate through the From controls:

   
  iTotalControls = MainDlg.ControlCount
  for x = 0 to iTotalControls - 1
    set oControl = MainDlg.controls(x)
    msgbox oControl.caption
    set oControl = nothing
  next

However, you can also access a Form control using the following approach:

   
  msgbox MainDlg.checkbox1.caption

See this response about the components documentation.

Hope this helps.

Regards,
Advansys Support