msuryadarma
Oct 4th, 2000, 10:40 AM
hi all,
I have this on vb app, and it works fine, it creates however many textboxes depending on the input (GuestNum). It uses index, btw.
Public Sub ShowGuestBoxes()
For Counter = 1 To (frmOpening.GuestNum - 1) Step 1
Load txtGuestEat(Counter)
txtGuestEat(Counter).Visible = True
Next Counter
End Sub
Now how do I do this in VbScript/ASP?
On my asp page, I am receiving GuestNum using Request Form, then I want to create those textboxes on the page.
I tried the same method as in VB App, but keep getting errors. Any ideas? Thanks a lot.
Martin
I have this on vb app, and it works fine, it creates however many textboxes depending on the input (GuestNum). It uses index, btw.
Public Sub ShowGuestBoxes()
For Counter = 1 To (frmOpening.GuestNum - 1) Step 1
Load txtGuestEat(Counter)
txtGuestEat(Counter).Visible = True
Next Counter
End Sub
Now how do I do this in VbScript/ASP?
On my asp page, I am receiving GuestNum using Request Form, then I want to create those textboxes on the page.
I tried the same method as in VB App, but keep getting errors. Any ideas? Thanks a lot.
Martin