You could try:

<cfif IsDefined(myvariable)>
true
</cfif>

or 

<cfif NOT Len(myvariable) eq 0>
True
</cfif>


But don't use:

<cfif ParameterExists(myvariable)>

or

<cfif #myvariable# IS "">



--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------


> -----Original Message-----
> From: Colin Robinson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 27, 2000 4:15 AM
> To: [EMAIL PROTECTED]
> Subject: NULL using it in CF
> 
> 
> Could someone please tell me what is wrong with the following:
> 
> <CFIF #myvariable# IS NULL>do something</CFIF>
> 
> I get :
> Error resolving parameter NULL
> 
>  
> Colin Robinson
> In-tuition.co.uk
> Tel: +44 (0) 1825 746400
> ICQ: 74207528
> 
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> _talk or send a message to [EMAIL PROTECTED] with 
> 'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to