|
-
Dec 13th, 2005, 11:03 AM
#1
Thread Starter
Addicted Member
Get ubound for textbox
Hail,
I have a page that created X number of text boxes called txtTest. Now when I need to access the info within, I know I can use txtTest(X) where X is the text box I need. This all works fine, what I'm looking for now is to find out the maximum amount of text boxes through something similar as UBound in VB. I know in VB I'd do Y=txtTest.UBound, so what can I do in VBScript to get that same info?
Phailak
-
Dec 14th, 2005, 02:02 PM
#2
Hyperactive Member
Re: Get ubound for textbox
You may want to consider incrementing a count after you create each box so after they are created you will know how many you have and can use this for whatever code comes next.
Truly, you have a dizzying intellect.
-
Dec 14th, 2005, 02:06 PM
#3
Thread Starter
Addicted Member
Re: Get ubound for textbox
 Originally Posted by gtilles
You may want to consider incrementing a count after you create each box so after they are created you will know how many you have and can use this for whatever code comes next.
Thanks, already did so, not as clean as I'd like but hey it works!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|