>I know I have seen this question on UT before, but I can't seem to locate it. How do I programmatically build an array of all of the controls on a form?
>
>Ed
Ed,
Do you know that the form has a controls collection that is already a list of all the contorls in the form?
FOR lnCnt = 1 TO THISFORM.ControlCount
? THISFORM.Controls(lnCnt).Name
ENDFOR
this code will display the name of every control in the form.