|
-
Apr 2nd, 2002, 12:07 PM
#1
Thread Starter
Fanatic Member
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:
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 & "&_
path = path & " & "&PreparedBy_TelNum=" & Phone & "&PreparedDate=" & DateUser & "&ApprovedBy=" & AgApproval & "&ApprovedDate=" & DateApproval & "&_
path = path & " & "&DocDate=" & DocDate & "&Payment_Due_Date=" & DueDate & "&Curr_Doc_Num=" & DocNum & "&Ref_Doc_Num=" & RefNum & "&Vendor_Num=" & VID "&_
path = path & " & "&Amount=" & Amount & "&Invoice=" & Invoice & "&Vendor_Message=" & VenMessage & "
-
Apr 2nd, 2002, 12:31 PM
#2
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...
-
Apr 2nd, 2002, 12:44 PM
#3
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|