I've always just checked for the length of the variable;
<cfif NOT Len(fieldx)>
<!--- Assume NULL --->
</cfif>
-----Original Message-----
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 10:48 AM
To: CF-Talk
Subject: Checking for NULL
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