
"Execute" in VBscript 5 Beta2
Does anyone know if the new "Execute" command will evaluate Session
variables.
What I am trying to do is return a string from a DB that is preformated
with Text and Session Variables:
For example:
'Value stored in DB is ["Bill lives in" & Session("Province")] No brackets
I want to run the code:
strMessage = DBrecordset("Text").Value
Execute strMessage
Response.Write strMessage
I am hoping to get ["Bill lives in Alberta"] which I can pass back to the
ASP page. If this works that I don't have to write a String Parser in ASP
to look for Tags and fill the tags will Values.
Can anyone help?
Thanks
Leo