I have the following basic query. The #form.funddate# gets the value of the radio button or buttons picked by the user from the form page its on. I then take that variable in this query on the action page:
<CFQUERY NAME="FundSearch"
DATASOURCE="IMGWEB">
SELECT FundName, '#Form.date#'
FROM FRTCPERF
WHERE FundName LIKE '#Form.FundName#%'
</cfquery>
My problem is that when I CFOUTPUT this query result with #form.funddate# I get the Value of the radio button, and not the data from the database. The #form.funddate# should just be representing the column name of my database in the radio buttons value, not itself.
<CFQUERY NAME="FundSearch"
DATASOURCE="IMGWEB">
SELECT FundName, '#Form.date#'
FROM FRTCPERF
WHERE FundName LIKE '#Form.FundName#%'
</cfquery>
My problem is that when I CFOUTPUT this query result with #form.funddate# I get the Value of the radio button, and not the data from the database. The #form.funddate# should just be representing the column name of my database in the radio buttons value, not itself.