Results 1 to 3 of 3

Thread: Redirect Path

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954

    Redirect Path

    I am trying to do a response.redirect that has a huge asp path after it. i am having a hard time putting the string together. I don't want one long string in my ASP, instead I would like to break it up, it is crashing on the first line...Any thoughts?

    VB Code:
    1. path =  ""A19-2A.asp?off=" & offnum & "&CLID=" & CLID & "&Agency_Num=" & AgencyNum & "&Loc_Code=" & LocCode & "&Agency_Pr_Auth_Num=" & APRNum & "&ReceivedBy=" & ReceivedBy & "&Date_Received=" & DateReceived & "&Memo=" & Memo & "&PreparedBy=" & PreparedBy & "&_
    2. path = path &   " & "&PreparedBy_TelNum=" & Phone & "&PreparedDate=" & DateUser & "&ApprovedBy=" & AgApproval & "&ApprovedDate=" & DateApproval & "&_
    3. path = path &   " & "&DocDate=" & DocDate & "&Payment_Due_Date=" & DueDate & "&Curr_Doc_Num=" & DocNum & "&Ref_Doc_Num=" & RefNum & "&Vendor_Num=" & VID "&_
    4. path = path &   " & "&Amount=" & Amount & "&Invoice=" & Invoice & "&Vendor_Message=" & VenMessage & "

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    don't know what is wrong... but after you make the string....

    do response.write(path) instead of redirect.. that way you will see the whole string with the variable values inserted and you can debug the problem...

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954
    Trying that, hmmm this is so simple yet so frustrating.

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