Try this:

This Does Not Work:
<cfset temp=qGetList.ListFees>
<cfif temp>Hello Yet Again</cfif>

> -----Original Message-----
> From: Joshua Miller [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, July 17, 2001 1:29 PM
> To: CF-Talk
> Subject: Strange CF Problem - CF5 pro
> 
> 
> I began writing an Add/Edit/Delete form this morning and 
> slowly discovered the following problem:
> 
> This works fine:
> <cfset i=1>
> <cfif i is 1>Hello</cfif>
> 
> This Works:
> <cfset temp="#trim(qGetList.ListFees)#">
> <cfif temp is "YES">Hello Yet Again</cfif>
> 
> This Does Not Work:
> <cfset temp="#qGetList.ListFees#">
> <cfif temp is "YES">Hello Yet Again</cfif>
> 
> If I output #qGetList.ListFees# the value is "YES" with no whitespace.
> 
> There is no whitespace in the database and the data is being 
> put into the database by a form with: value="YES"
> 
> 
> Where is this whitespace coming from?
> Using: MSSQL2000,CF5,Win2k Pro
> 
> 
> Thanks!
> 
> 
> Joshua Miller
> Web Development::Programming
> Eagle Technologies Group, Inc.
> www.eagletgi.com
> [EMAIL PROTECTED]
> 
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to