>it works fine but it looks like it`s changing the label name in my form
>
>I just wanna refer to the label and alter its caption
>
>But when I close the form, I would like to keep its original name
>
>The labels are alrealdy in the form as below:
>
>myform.label1
>myform.label19
>etc
>
>I want to refere to label19 to alter its caption, but I dont want to change its name
>
>After coding, myform.label19 becomes myform.label23 (this is the problem)
>
>
>Moses
Only if you change its name yourself by your code. Show the whole code you have currently, then it would be easier to see the problem.
If it's not broken, fix it until it is.
My Blog