I keep getting an error running the below code.

InsideText

Cannot convert inetpub, other, program files,temp to boolean

Here is my code below. I still can't get it to display in 3 columns?

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

<table wisth="100%" cellpadding="6" cellspacing="0" border="0" align="center">
<tr class="wdirlinks">
<td colspan="2">
<cfif COOKIE.DisplaySelect GT 0>
        <cfloop index="ListElement" list="#COOKIE.DisplaySelect#" delimiters=",">
        <cfoutput>
        <table width="100%" cellpadding="2" cellspacing="2" border="0">
        <tr>
        <cfset x=1>
        <cfif NOT x MOD 3></tr><cfif x NEQ #ListElement.RecordCount#><tr></cfif></cfif>
        <cfset x = x + 1>
        <td class="wdirlinks"><input type="checkbox" name="select" 
value="checked">#ListElement#</td>
        </tr>
        </table>        
        </cfoutput>
        </cfloop>
<cfelse>
        &nbsp;<b>None Selected</b>
</cfif>
</td>
</tr>
</table>

On Tue, 24 Sep 2002 13:52:21 -0500, Phillip B. Holmes wrote:

> This is even thinner. Omit your GT 0 because if it exists it will be GT
> 0. Or you could try to use: <cfif IsDefined(COOKIE.DisplaySelect)>
> 
> 
> Here ya go:
> 
>       <cfscript>
>       NumberOfColumns=3;
>       cellwidth=150;
>       </cfscript>
>       
>       <cfif COOKIE.DisplaySelect>
>       <cfoutput>
>       <cfloop query="whatever">
>       <cfif (CurrentRow MOD NumberOfColumns) IS 1></tr><tr></cfif>
>       <td width="#cellWidth#"><a
> href="yoururl.cfm?cat=#this_var#">#this_var#</a></td>
>       </cfloop>
>       </cfoutput>
>       </cfif>
> 
> 
> 
> Respectfully,
>  
> <cf_developer>
> Phillip B. Holmes
> Media Resolutions Inc.
> Macromedia Alliance Partner
> http://www.mediares.com
> [EMAIL PROTECTED]
> 1-888-395-4678 ext. 101
> 972-889-0201 ext. 101
> </cf_developer>
>  
> /* Please send support requests to
> [EMAIL PROTECTED]  */
> 
> 
> 
> 
> 
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
> 
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org



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




-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to