I have the following code. I am tring to add each element of dependents to it's own textbox names child1 through 10. Right now it is telling me that child is not declared
Dim i as integer
dim j as integer
j = Ubound(dependents)
j = j + 1
i = 1
Do while i < j
child & i.text = dependents
i = i + 1
loop
I have tried child & i, and child + 1.
Dim i as integer
dim j as integer
j = Ubound(dependents)
j = j + 1
i = 1
Do while i < j
child & i.text = dependents
i = i + 1
loop
I have tried child & i, and child + 1.