I have this form on which i created some fields, i need to change the source of 31 textboxes, they are named text1, text2, ...
Is there a way to refer to these textboxes in the following way.
Can you give me some comments on this?
strsource = 1/1/2001
for i = 1 TO 31
counter=i
strname= "text" & counter
form.strname.recordsource= strsource
form.strname.value= "text"
strscource=strsource+1
next i
Thanks for your help
Is there a way to refer to these textboxes in the following way.
Can you give me some comments on this?
strsource = 1/1/2001
for i = 1 TO 31
counter=i
strname= "text" & counter
form.strname.recordsource= strsource
form.strname.value= "text"
strscource=strsource+1
next i
Thanks for your help