I'm having a hard time understanding your question and scenario, but perhaps this will give you enough information to go on.
It sounds as though you need to carry a value around between pages. As stu9820 suggested, the use of the session collection is ideal for this. On any page where you need to SAVE the value so that other pages can use it, you just need to assign the value to a session collection key:
Session("myItem") = "Hello"
Then on any page that needs to USE that value, you just retrieve the value from the session collection by the same key name you saved it with:
myLocalPageVariable = Session("myItem")
Then you can use that for whatever you like. You will need to cast the value from the session to the appropriate type in order to use it properly because the session collection returns an Object.
Peter
------------------------------------------------------
Work smarter, not harder.
|