Doesn't like it, says it can't convert to a boolean....



> How bout
>
> <cfif  variables.choiceValue>
>          <!--- process stuff- -->
> </cfif>
>
> At 11:34 PM 7/26/02 -0500, you wrote:
> >I have an if statement that I need to write, it is I am sure very simple,
> >but for some reason i cannot think straight on it.
> >
> >Basically if this variable is a 0 or a "" then I don't want to process
> >some stuff ... how would I write this?
> >
> >This code below doesn't work .. it still lets "" or 0's through...
> ><cfif (variables.choiceValue neq "0") OR (Len(variables.choiceValue)>
> >
> ></cfif>
> >
> >What am I not thinking of?!
> >
> >Paul Giesenhagen
> >QuillDesign
> >
> >
> >
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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

Reply via email to