Sana,

try removing that second var declaration - you're doing that twice with
elementCollection and i think that might be your problem.

i just tested your code within something i'm working on and basically and it works for
me.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sana
Ullah
Sent: Friday, January 16, 2004 1:03 AM
To: [EMAIL PROTECTED]
Subject: [CFCDev] Passing QueryName.RecordCount


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


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to