Yeah forgot about the columnlist variable.

I can do it that way.

Thanks!



Scott Weikert wrote:

>ColdFusion Developer wrote:
>
>  
>
>>MS-SQL7  and MySQL
>>
>> 
>>
>>    
>>
>Well with MS SQL there's a back way in... but there's an easier way...
>
>Do a query on your table for a single row, then look for the field 
>"columnlist" in your query, i.e.
>
><cfquery name="queryname">
>    select * from table where ID = something
></cfquery>
>
>#queryname.columnlist#
>
>It'll show a list of the columns returned. If you select *, you'll get 
>them all - then just do a ListFindNoCase() on that list for your column.
>
>--Scott
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205029
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to