I have many boxes (they are actually 'text box labels') named tBox1, tBox2, and etc. Each is filled from another form (the proposal form) as jobs are received. Upon accepting a job, text (job name) is added to one of these boxes depending on the job date. The text is also colored depending on the type of work. They use 3 colors.
Currently, the program is only partially written and they have hundreds of lines of code because it has to go through several 'select case' function listing each object as:
select
case 1
![tBox1].caption = "strJobName"
case 2
![tBox2].caption = "strJobName"
etc
This is an example. There is a lot more to it. Now, my question. Can those boxes be referenced using some type of variable insteadd of listing each one; or is there another way to do it? Thanks for your help.