I believe CF variables can't be null, see
http://www.allaire.com/handlers/index.cfm?ID=21727

You can check if they're defined with <cfif IsDefined qQuery.field> or check if the 
value is blank with <cfif qQuery.field IS "">

Chris Norloff


---------- Original Message ----------------------------------
from: Thomas Chiverton <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Wed, 05 Sep 2001 07:47:54 -0700

>How do I compare a field for a NULL value ?
><cfif qQuery.field is NULL> ?
>
>Regards,
>
>Thomas Chiverton
>Intranet Architect
>01565 757 909
>The web is the borderless embodiment of every abstraction 
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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