converting variable from complex type to simple???
Posted on 2004-09-30
How can I convert a complex variable to a simple one.
I am getting this error message when trying to outptu a query.
Attribute validation error for tag cfoutput.
The value of the attribute query, which is currently "qryResultSet", is invalid.
I am invoking a CFC, and saving the resultset.
If I do a dump of the CFC, it works, but soon as I try to do a <cfoutput query="queryName"> I get the above message.
I tried doing <cfset newVariable = #cfcResultSet#>
Basically assign a new variable the value that is returned from my cfc, but still no luck...
The query is valid and it does work because the dump outputs the query just fine, but when I do a <cfoutput>, no luck..
Any help appreciated.