Did you actually try it?  Leigh's solution is generally the best way
to do what you're after (you don't need evaluate).

If it really doesn't, you could try (untested):

<cfset colname = replace(colName,"##","####","all") />
#queryName[colname][rowNumber]#

But I'd be surprised if you really need to go that far.

:den

-- 
Dolores: I would have been here right after you called, but I had to
shake the weasels.

On Thu, Apr 15, 2010 at 10:49 AM, Doug Ford wrote:
>
> Hi Leigh -
>
> When I was saying "System", I meant the CF Server/ web page was producing an 
> error screen.
>
> I don't think that having the [col name] will work since a field name might 
> contain a # sign within it.  And that would again cause the CF page to fail.
>
> Thanks.
>
> Doug
>
>> I am not really clear on your "system"... But to answer the part I do
>> understand, you can use array notation.
>>
>> #queryName[colName][rowNumber]#
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332917
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to