I have come across a scenario that I don't know how to avoid using Evaluate. I have stored in a database table session vars and when I output the query results, I want to show the value of the session var.
so here's the set up:
INSERT THE DATA...
<cfquery datasource="TEST" >
insert into testTable (labelVar) values ("session.test") <- I don't want the value of the session var stored I just want to store the session var
</cfquery>
OUTPUT THE RESULTS...
<cfquery name="qExample" datasource="TEST" >
select labelVar from testTable
</cfquery>
<cfset session.test="Hi!">
<cfset TextValue = Evaluate("#qExample.LabelVar#")>
<cfoutput>#TextValue#</cfoutput> <-Outputs Hi!
Now this all works BUT how do I accomplish this without using Evaluate?