Hi

 

In my CFC I am setting a variables which tells about numbers records of query . I am get error that [ complex data can not convert into simple value like this]

 

<cffunction………………>

 

<cfset var elementCollection = “ this is detail of new …… and ” />

 

<cfset var elementCollection = elementCollection & newsQuery.recordCount & toal number of record founds” />

 

</cffunction>

 

I am not sure what is wrong with above code

I tried  this evaluate(newsQuery.recordCount)

I tried this duplicate(newsQuery.recordCount)

 

Both have same above error

 

Thanks

 

Sana

Reply via email to