Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 array problem

Author  Topic 

adieren
Starting Member

14 Posts

Posted - 2006-05-12 : 19:00:27
Hi, i got an array of textbox by example

text1(0)
text1(1)
text1(2) 'this one is deleted
text1(3)
text1(4)

but i deleted the text1(2) textbox so it doesnt exists any longer, what i want to do is simple, i want to clean the textbox

For i = 0 To Text1().UBound
Text1(i).Text = ""
Next

but i got this error :

control array element 2 doesnt exist

what can i do??
any idea would be so much helpful

adieren
Starting Member

14 Posts

Posted - 2006-05-12 : 19:11:32
how can i know if the textbox exist in the form
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2006-05-12 : 23:12:51
It might help if you gave us some kind of clue as to what language/platform you are programming in.
Go to Top of Page
   

- Advertisement -