On Monday, Nov 3, 2003, at 12:05 US/Pacific, Tony Weeg wrote:
Complex object types cannot be converted to simple values.
error.RootCause:coldfusion.runtime.UndefinedVariableException: Variable GET
is undefined.

Try declaring
<cfset var get = 0 />
to make sure you're not conflicting with another definition (lack of 'var' is very bad!).


Although Bryan might be right - "get" could already be defined as a method in the underlying Java and therefore it's a reserved word. Mind you, "get" is a poor choice of name for a query result (selectVehicles might be a better name). You're less likely to clash with built-in names if you use good, descriptive variable names in your own code...

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word '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