Hi Tom.

> hrm, trying to work out what all that quoting and evaluating achieves.
> Without thinking too hard about it, aren't you wanting something along
> the lines of:
> 
> <cfif isDefined(MyQuery.VariableColumn)>
>         My variable name is #MyQuery.VariableColumn#
>         Its value is #Evaluate(MyQuery.VariableColumn)#
> </cfif>


I know that MyQuery.VariableColumn is defined.  The value is "id0". 
If I then try to evaluate "id0" and "id0" is not defined, it throws an
error.

The application for this is that I am building forms and their
respective form fields on the fly.  There are times when the default
value for a form field is passed via a variable.  There are likely
better ways to do this, and I will likely spend a day or so figuring
it out in the future... or just whine here and have someone tell me.

> My mother always said if you don't have something nice to say... ;)

Gotta love mom.

Chad
who loves his mom

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to