Thanks barney that is much clearer now.
  ----- Original Message -----
  From: Barney Boisvert
  To: CF-Talk
  Sent: Thursday, January 22, 2004 4:53 PM
  Subject: RE: List ? in a CFIF

  <cfif hobbit EQ "bill" OR hobbit EQ "beau">

  is the same as

  <cfif listFindNoCase("bill,beau", hobbit)>

  Cheers,
  barneyb

  > -----Original Message-----
  > From: Mickael [mailto:[EMAIL PROTECTED]
  > Sent: Thursday, January 22, 2004 1:40 PM
  > To: CF-Talk
  > Subject: Re: List ? in a CFIF
  >
  > Hi Raymond,
  >
  >
  > Can you explain how to use it.  I see examples on the web
  > like this <CFIF listfindnocase(validation_error, "phone")>  I
  > just don't understand the first argument in that example
  > validation_error  sorry for my newbieness
  >
  > Mike
  >   ----- Original Message -----
  >   From: Raymond Camden
  >   To: CF-Talk
  >   Sent: Thursday, January 22, 2004 5:18 PM
  >   Subject: RE: List ? in a CFIF
  >
  >
  >   Sure, use listFind or ListFindNoCase.
  >
  >   Raymond Camden
  >   .sigless in Boston
  >
  >   > -----Original Message-----
  >   > From: Mickael [mailto:[EMAIL PROTECTED]
  >   > Sent: Thursday, January 22, 2004 3:13 PM
  >   > To: CF-Talk
  >   > Subject: List ? in a CFIF
  >   >
  >   > Hi All,
  >   >
  >   > I am sure there is a way to do this but I am unclear on
  > the syntax.
  >   >
  >   > Instead of having many CFIF's is there a way to check for a
  >   > value similar to SQL where you say
  >   >
  >   > select * from table where something in ('value','value','value)
  >   >
  >   >
  >   > I have this  <cfif attributes.clt_master_id eq 'both'>  But
  >   > instead of creating more than one cfif statement I would like
  >   > to add more than one value without making it ugly with a
  >   > whole bunch of OR's
  >   >
  >   > Can this be done?
  >   >
  >   > Mike
  >   >
  >   >
  >   >
  >
  >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to