Hi,
How can I use a variable as a control name?
I'll try to make sample code very simple.
Code:
names(1)='treeOrders'
names(2)='treeProducts'
names(3)='treeInvoices'
 
for i = 1 to 3 
    tv='frmMainMenu' & names(i)
    tv.node.add='abc'
    tv.node.add='123'
next i
My problem is that I do not know how to make "tv" a valid control.