<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: cfqueryparam and conditional handling of NULL&#8217;s</title>
	<atom:link href="http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/</link>
	<description>Rich Internet Application development</description>
	<lastBuildDate>Wed, 03 Mar 2010 03:15:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nikos</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-111081</link>
		<dc:creator>Nikos</dc:creator>
		<pubDate>Thu, 10 Dec 2009 11:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-111081</guid>
		<description>so this is the best way for all datatypes?

null=”#NOT structKeyExists(arguments, ‘age’)#</description>
		<content:encoded><![CDATA[<p>so this is the best way for all datatypes?</p>
<p>null=”#NOT structKeyExists(arguments, ‘age’)#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-107327</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Mon, 12 Oct 2009 06:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-107327</guid>
		<description>I ran into same situation and found this post. Thanks a million this was exactly what I was looking for.

cheer!</description>
		<content:encoded><![CDATA[<p>I ran into same situation and found this post. Thanks a million this was exactly what I was looking for.</p>
<p>cheer!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jDowdle.com &#187; Blog Archive &#187; cfqueryparam, NULLs and Lists</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-71833</link>
		<dc:creator>jDowdle.com &#187; Blog Archive &#187; cfqueryparam, NULLs and Lists</dc:creator>
		<pubDate>Wed, 17 Sep 2008 16:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-71833</guid>
		<description>[...] Links: cfqueryparam and conditional handling of NULL’s [...]</description>
		<content:encoded><![CDATA[<p>[...] Links: cfqueryparam and conditional handling of NULL’s [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-55686</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Sat, 21 Jun 2008 01:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-55686</guid>
		<description>@Eric - This would indeed work for varchars, not sure what went wrong for you. Do you have a code sample?

For radio buttons you could replace len(trim()) with isDefined(&quot;myRadioButton&quot;)

Hope that helps.</description>
		<content:encoded><![CDATA[<p>@Eric &#8211; This would indeed work for varchars, not sure what went wrong for you. Do you have a code sample?</p>
<p>For radio buttons you could replace len(trim()) with isDefined(&#8220;myRadioButton&#8221;)</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Smith</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-55635</link>
		<dc:creator>Eric Smith</dc:creator>
		<pubDate>Fri, 20 Jun 2008 19:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-55635</guid>
		<description>You also need to mention that this is not for radio boxes.  Spent a good deal of time finding this out the hard way.

Thanks,
Eric</description>
		<content:encoded><![CDATA[<p>You also need to mention that this is not for radio boxes.  Spent a good deal of time finding this out the hard way.</p>
<p>Thanks,<br />
Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Smith</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-55595</link>
		<dc:creator>Eric Smith</dc:creator>
		<pubDate>Fri, 20 Jun 2008 14:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-55595</guid>
		<description>Will this work for a varchar field also?  I tried using your example and just replaced your field name and the data type and it&#039;s not working.

Thanks,
Eric</description>
		<content:encoded><![CDATA[<p>Will this work for a varchar field also?  I tried using your example and just replaced your field name and the data type and it&#8217;s not working.</p>
<p>Thanks,<br />
Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-41454</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Thu, 13 Mar 2008 03:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-41454</guid>
		<description>@Tracy - Yep, the last example in the post details that.

There was a problem with the syntax highlighter I was using so I don&#039;t think it was displaying correctly.

I&#039;ve removed the highlighter for the last example and just left it bold.

Thanks</description>
		<content:encoded><![CDATA[<p>@Tracy &#8211; Yep, the last example in the post details that.</p>
<p>There was a problem with the syntax highlighter I was using so I don&#8217;t think it was displaying correctly.</p>
<p>I&#8217;ve removed the highlighter for the last example and just left it bold.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy Logan</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-41420</link>
		<dc:creator>Tracy Logan</dc:creator>
		<pubDate>Wed, 12 Mar 2008 16:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-41420</guid>
		<description>Note that (at least with CF8), there&#039;s no need for using YesNoFormat() -- like all other CF tag attributes that expect a boolean value, all the usual CF booleans will suffice (0/1, no/yes, true/false).  So a simple ...null=&quot;#NOT structKeyExists(arguments, &#039;age&#039;)#&quot;... will do the trick.  I would expect this to be true of all CF versions, but only have CF8 ready to hand.</description>
		<content:encoded><![CDATA[<p>Note that (at least with CF8), there&#8217;s no need for using YesNoFormat() &#8212; like all other CF tag attributes that expect a boolean value, all the usual CF booleans will suffice (0/1, no/yes, true/false).  So a simple &#8230;null=&#8221;#NOT structKeyExists(arguments, &#8216;age&#8217;)#&#8221;&#8230; will do the trick.  I would expect this to be true of all CF versions, but only have CF8 ready to hand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Ness</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-2027</link>
		<dc:creator>Adam Ness</dc:creator>
		<pubDate>Thu, 08 Feb 2007 01:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-2027</guid>
		<description>I tend to use 
&lt;cfqueryparam ..... null=&quot;#trim(iFormElement) eq &#039;&#039;#&quot;&gt;, which I think compiles to the same thing on the backend.  I ran some fairly extensive speed comparison tests between eq &quot;&quot; and not(len()) a while back and came up with the same numbers, though that was on CFMX 6.1, things may have changed in 7</description>
		<content:encoded><![CDATA[<p>I tend to use<br />
&lt;cfqueryparam &#8230;.. null=&#8221;#trim(iFormElement) eq &#8221;#&#8221;&gt;, which I think compiles to the same thing on the backend.  I ran some fairly extensive speed comparison tests between eq &#8220;&#8221; and not(len()) a while back and came up with the same numbers, though that was on CFMX 6.1, things may have changed in 7</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Ness</title>
		<link>http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/comment-page-1/#comment-2026</link>
		<dc:creator>Adam Ness</dc:creator>
		<pubDate>Thu, 08 Feb 2007 01:52:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/#comment-2026</guid>
		<description>I tend to use 
, which I think compiles to the same thing on the backend.  I ran some fairly extensive speed comparison tests between eq &quot;&quot; and not(len()) a while back and came up with the same numbers, though that was on CFMX 6.1, things may have changed in 7</description>
		<content:encoded><![CDATA[<p>I tend to use<br />
, which I think compiles to the same thing on the backend.  I ran some fairly extensive speed comparison tests between eq &#8220;&#8221; and not(len()) a while back and came up with the same numbers, though that was on CFMX 6.1, things may have changed in 7</p>
]]></content:encoded>
	</item>
</channel>
</rss>
