Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Querystring problem

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,511
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Querystring problem
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Querystring problem - 12/4/2001 9:12:31 PM   
  cpsingh

 

Posts: 1
Score: 0
Joined: 12/4/2001
From:
Status: offline
I have the following function in my ASP page.
Function DisplayButtons()
Dim strWrite
Dim strAgent
strAgent = "Why do you do the things you do"

strWrite = ""
strWrite = strWrite & "<table><tr><td colspan = 4><h3><center>What status should be assigned to this survey?"
strWrite = strWrite & "</center></h3></td></tr><tr><td>"

strWrite = strWrite & "<a href=../QA/QA_Changestatus.asp?String="& strAgent &"&Status=1>"
strWrite = strWrite & "Applied for QA</a></td></tr></table>"

DisplayButtons = strWrite

end function

When I display this my link only throws a "Why" and the status. It does not record the whole string "Why do you do the things you do"

Please Help
 
 
Post #: 1
 
 Re: Querystring problem - 12/6/2001 11:54:03 AM   
  htran

 

Posts: 4
Score: 0
Joined: 12/4/2001
From:
Status: offline
I don't think that you can include spaces in a query string. I your strAgent were just one complete string, then I think it would work.

(in reply to cpsingh)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Querystring problem Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts