Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2004
    Posts
    202

    Unanswered: Need advice on asp code

    Hi there,

    I got one this problem which i cant seem to solve it.
    How to pass a parameter thru to another page dynamically?

    the code like this but somehow come out error.

    RESPONSE.Redirect("../DBPA_GOLDWIRE/MES_GW_Consump_Rpt_Print.asp?reg=MES_GW_Consump_Rp t_Print.asp&issueDate=<%=request.QueryString("issu e_date")%>")

    i need to pass a vbscript parameter to another page.
    it seems that this statment =<%=request.QueryString("issue_date")%>
    in the script come out error.
    Can anyone help me please.
    Thanx

  2. #2
    Join Date
    May 2004
    Posts
    125
    try this:


    RESPONSE.Redirect("../DBPA_GOLDWIRE/MES_GW_Consump_Rpt_Print.asp?reg=MES_GW_Consump_Rp t_Print.asp&issueDate=" & request.QueryString("issue_date"))

  3. #3
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    can you do a response.redirect using a relative path like that?? I wouldn't have thought it would be possible.
    [edit]
    Jsut checked, yeah, you can use a relative path....
    [/edit]
    Last edited by rokslide; 10-11-04 at 20:34.

  4. #4
    Join Date
    Mar 2004
    Posts
    202
    hi there,

    actually it can be done using the path like this.
    i tried it before but i kindda forgot how already.

  5. #5
    Join Date
    Mar 2004
    Posts
    202
    i'll try and c the coding u gave me.
    Thanx a lot DMWCincy.

Posting Permissions

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