> I'm trying to find why this if condition keeps getting 
> evaluated as true when it shouldn't.
> ...
> if (Check_NT.RecordCount gt 0 is "TRUE")

You've got two conditions, not one. You can just use one condition:

if (Check_NT.RecordCount gt 0)

Or, you can simply reference the variable - a nonzero value will evaluate to
true:

if (Check_NT.RecordCount)

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to