Use the built-in toString() function around the column:

<cfset temp = toString(qryPart.Desc) />

This can also happen when you're using MySQL to format something (i.e. a
date or number) into a string in the database.  ByteArrays can generally be
converted to strings, it's just the conversion won't happen automatically,
so you have to do it explicitly.

Cheers,
barneyb

> -----Original Message-----
> From: Asif Rashid [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 14, 2004 8:47 AM
> To: CF-Talk
> Subject: Re: CFMX and MySQL Text field
>
> Thanks for reply, now I am getting this error message,
>
> ByteArray Objects cannot be converted to strings.
>
> And this is happening when I am moving that column value into one
> local variable, i.e.,
>
> <cfset temp = qryPart.Desc>
>
> Asif
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to