saving value of argoments

Results 1 to 4 of 4

Thread: saving value of argoments

  1. #1
    Join Date
    Dec 1969

    Default saving value of argoments

    im having a problem saving a parameter after im sending it from aform in an asp page to the same page <BR>i need the value to preforme a select case<BR>this is the code:<BR>Response.Write "&#060;A HREF=showMotor.asp?strsComp=" & strsComp & "?GetAbsPage=" & GetAbsPage+1 & "?selg=" & selg & "&#062;Next&#060;/A&#062;"<BR>and when the page is loading after two times selg loos its value

  2. #2
    J. Paul Schmidt Guest

    Default Try using QueryString

    It seems like somewhere in your code you&#039re going to need to set a value for the strsComp variable.<BR><BR>Perhaps something like this:<BR>strsComp = Request.QueryString("strsComp")<BR><BR>Best regards,<BR>-Paul<BR><BR>J. Paul Schmidt, MBA<BR>Databases on the Web<BR><BR><BR>

  3. #3
    DontWorry Guest

    Default RE: saving value of argoments

    if you reload the page , then you are not clicking link, no values are passes. but if you are clicking on link the just pass the variables.<BR>dim a,b,c<BR>a=request.querystring("strherea")<BR>b=re quest.querystring("strhereb")<BR>response.write a<BR>response.write b<BR>try that, remember you have to click on the link to get results.<BR>remember to signup at and use dontworry as your referral.

  4. #4
    Join Date
    Dec 1969

    Default RE: saving value of argoments

    I think you have a syntax error in your href. You should only use one "?" after the file path for you values. After the first "?", you need to use "&". This should work:<BR><BR>Response.Write "&#060;A HREF=showMotor.asp?strsComp=" & strsComp & "&GetAbsPage=" & GetAbsPage+1 & "&selg=" & selg & "&#062;Next&#060;/A&#062;"<BR>

Posting Permissions

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