Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you have an array of controls (not asking about me.controls)

Status
Not open for further replies.

SBendBuckeye

Programmer
May 22, 2002
2,166
US
Also posted on Forms forum

I am loading a form from an array and would like to create an array of text boxes so that I could load as follows:

for i = 1 to x
txtBox(i) = array(i)
next

Can you do this? I know I can spin through me.controls and parse the .name property but that is very ugly since I am loading 4 fields from each array element.

Any help would be greatly appreciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top