CF 5 ... and that did the trick ... thanks! Paul Giesenhagen QuillDesign
----- Original Message ----- From: "brook" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, July 27, 2002 12:07 AM Subject: Re: If statement > Hmm, is that with CFMX or earlier? Try <cfif val(variables.choiceValue)> > > > At 11:47 PM 7/26/02 -0500, you wrote: > >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 > > > > > > > > > > > > > > > > > > ______________________________________________________________________ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists