I have 6 textboxes in a page and i wish to loop from "textbo1" to "textbox6" and i used this code :
for i=1 to i=6
dim t as new textbox
t=me.findcontrol("textbox" & i)
msgbox (t.text)
next
i get this error on the "MSGBOX (T.TEXT)" line saying "Object reference not set to an instance of an object." i used the new keyword , but its still the same !!
Thanks in advance!