PDA

Click to See Complete Forum and Search --> : VB script Q


efrat
Feb 8th, 2001, 09:07 AM
Hi Folks
My Question: (Vb script)
If I have for example 5 parameters
I want to use sometimes with 3 parameters and
Sometimes with 2 Parameters
Any Help
Thanks
Efrat

Jerry Grant
Feb 8th, 2001, 10:37 AM
What do you mean? Request.QueryString("param1")
Request.QueryString("param2")
Request.QueryString("param3")
'Etc ............
If so, then do the following:If (Len(Request.QueryString("param1")) > 0) Then
'== Code for parameter passed
Else
'== Code for parameter missing
End If
This should be repeated for each of the parameters likely to be passed.

Any help? :cool: