why is it when you use IIF() and you are checking to see if a variable
exists, the process will error out? here is an example:
#IIF(IsDefined("FORM.classCodeID"), DE(FORM.classCodeID), DE("ALL"))#
if FORM.classCodeID exists, the code works fine. but if FORM.classCodeID
doesn't exist, it errors saying it can't find FORM.classCodeID. shouldn't
it run the second DE() statement? am i just not understanding the whole
IIF() tag? has anyone else run into this and is there anyway of making it
work without using <CFIF> tags?
jason
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
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