Try this:
<cfif not len(trim(qQuery.strField))>
it's null
<cfelse>
it's not null
</cfif>
-Tyson
-----Original Message-----
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 9: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