OK...I added your code and now I get an error. Why?

Error Diagnostic Information

LIST

The value cannot be converted to a string because it is not a simple value. Simple 
values are booleans, numbers, strings and date-time values.

The error occurred while processing an element with a general identifier of (CFLOOP)


Here is my code with yours included:

<cfquery name="ListElement" datasource="user-profiles" dbtype="ODBC">
        SELECT      strUsername,strGroup,strSelect
        FROM        profiles
        WHERE       strUsername = '#auth#'
</cfquery>

<table width="100%" cellpadding="6" cellspacing="0" border="0" align="center">
<tr class="wdirlinks">
<td colspan="2">
<cfif COOKIE.DisplaySelect GT 0>
        <cfset j = "1">
        <cfloop list="#listElement#" index="i">
                <cfoutput>#i#</cfoutput>
                <cfif j MOD 3 EQ 0>
                        <tr>
                </cfif>
                <cfset j = j + 1>
        </cfloop>
<cfelse>
        &nbsp;<b>None Selected</b>
</cfif>
</td>
</tr>
</table>



---------------------------------------------------
Colonel Nathan R. Jessop
Commanding Officer
Marine Ground Forces
Guatanamo Bay, Cuba
---------------------------------------------------



______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to