I am new with ASP (mostly do Visual Basic programming).
I am loading a database onto a screen on website. Simply list the
items from the database onto the screen with a button next to each
item. This button is used to take the person to another screen
with more detail of the item they selected.
This is how the button works.
<input type="button" onClick="<%=strButton%>" value="Pull Q">
with strbutton being:
strButton = "parent.location='QuoteDetail.asp?QID=" & getID & "'"
This works fine except now I need for QID to actually be a session
because I need to come back to the page and I actually loose QID.
I tried this:
strButton= "parent.location='QuoteDetail.asp?Session("SuplQuoteID")=" & getID & "'"
But I received the following error:
<>
Microsoft VBScript compilation error '800a0401'
Expected end of statement
>
/quotelogscreen.asp, line 67
strButton= "parent.location='QuoteDetail.asp?Session("SuplQuoteID")=" & getID & "'"
Any Suggestion?
Thanks,
Bob
------------------------------------------------------^
but it did not work, gave me an error said looking for