Results 1 to 2 of 2

Thread: VB script Q

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 1999
    Location
    y
    Posts
    141

    Unhappy

    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

  2. #2
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810

    Question ??????

    What do you mean?
    Code:
    Request.QueryString("param1")
    Request.QueryString("param2")
    Request.QueryString("param3")
    'Etc ............
    If so, then do the following:
    Code:
    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?
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width