March 6, 2006 at 2:32 pm #7534
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:
See this response about the components documentation.
Hope this helps.