Hi all,
I have a vb code doing assignments to 100 text fields
like:
txtField1.Text = strCod
'... to ...
txtField100.Text = strCod
Is there a way to do a loop on those assignments
instead of writing 100 lines? I thought about
concatenating "txtField" + counter + ".Text = strCod"
but it would not be recognized as a command line code?
Can any of you pros find out this one? Or some alternative?
Thanks in advance!
Alexandre Marton
Almarton (BRAZIL)
Alexandre @lmarton Marton
almarton@task.com.br
I have a vb code doing assignments to 100 text fields
like:
txtField1.Text = strCod
'... to ...
txtField100.Text = strCod
Is there a way to do a loop on those assignments
instead of writing 100 lines? I thought about
concatenating "txtField" + counter + ".Text = strCod"
but it would not be recognized as a command line code?
Can any of you pros find out this one? Or some alternative?
Thanks in advance!
Alexandre Marton
Almarton (BRAZIL)
Alexandre @lmarton Marton
almarton@task.com.br