- see footer for list info -<
*waggles hands in general divvy fashion at Tomo*

On 6/23/06, Tomo <[EMAIL PROTECTED]> wrote:

>- see footer for list info -<
yeah... I invented cf_spacc earlier this week for just this purpose:)

Michael Traher wrote:
>> - see footer for list info -<
> we've all been there mate. :-)
>
> On 6/22/06, Duncan Cumming <[EMAIL PROTECTED]> wrote:
>>
>> >- see footer for list info -<
>> nevermind, I was being daft; the cfcase value in question had a comma
in
>> it...
>>
>>
>> Duncan Cumming
>> New Media Developer
>> Customer Relations Management / Education
>> Fife Council
>> 700 4105 / 01592 414105
>>
>> >>> [EMAIL PROTECTED] 22/06/2006 16:21 >>>
>> >- see footer for list info -<
>> I think the Blah Blah was just a safe substitute for the real values ..
>> which leads me to think that perhaps there is something in the original
>> code
>> which is causing the problem as this  code should work fine...
>>
>> Kola
>>
>> > -----Original Message-----
>> > From: [EMAIL PROTECTED] [mailto:dev-
>> > [EMAIL PROTECTED] On Behalf Of Charlie Arehart
>> > Sent: 22 June 2006 15:09
>> > To: 'Coldfusion Development'
>> > Subject: RE: [CF-Dev] cfswitch
>> >
>> > >- see footer for list info -<
>> > Well, there's nothing obvious that I see, but I think that to be
safest
>> in
>> > trusting your diagnostic test, you ought also to do the same trim in
>> the
>> IF
>> > as you did in the switch. I know it seems like it shouldn't matter,
but
>> > compare apples to apples.
>> >
>> > And are you saying that you really have these values, or are they
stuff
>> you
>> > typed in for demo purposes here? The difference could be important.
>> >
>> > Finally, if you run the following code, do you get foobar or good?
>> >
>> > <cfset area="Blah Blah">
>> > <cfswitch expression="#Trim(Area)#">
>> >       <cfcase value="Blah Blah" >
>> >               Foobar
>> >       </cfcase>
>> >       ...
>> >       <cfdefaultcase>
>> >               #Area#<br>
>> >               <cfif getSchools.Area EQ "Blah Blah">
>> >                       good
>> >               <cfelse>
>> >                       bad
>> >               </cfif>
>> >       </cfdefaultcase>
>> > </cfswitch>
>> >
>> > I get foobar, but again it makes sense to run this simple test
>> yourself.
>> If
>> > you get foobar, too, then try to work it into your code to see what
>> differs
>> > between the above and what you have.
>> >
>> > /charlie
>> >
>> > -----Original Message-----
>> > From: [EMAIL PROTECTED]
>> > [mailto:[EMAIL PROTECTED] On Behalf Of Duncan
Cumming
>> > Sent: Thursday, June 22, 2006 10:15 AM
>> > To: [email protected]
>> > Subject: [CF-Dev] cfswitch
>> >
>> > >- see footer for list info -<
>> > Anyone spot what's wrong here?  The value being passed to <cfswitch>
is
>> > 'Blah Blah' (names changed to protect the innocent), but it doesn't
get
>> > picked up by the <cfcase>.  Other cfcases for different values all
work
>> > fine. The <cfif> returns 'good', so there is a string match.  I've
even
>> > tried dumping the ascii values of every character in the string in
case
>> > there were any hidden high ascii values or something, but that's not
>> the
>> > case.
>> >
>> > <cfswitch expression="#Trim(getSchools.Area)#">
>> >       <cfcase value="Blah Blah">
>> >               Foobar
>> >       </cfcase>
>> >       ...
>> >       <cfdefaultcase>
>> >               #getSchools.Area#<br>
>> >               <cfif getSchools.Area EQ "Blah Blah">
>> >                       good
>> >               <cfelse>
>> >                       bad
>> >               </cfif>
>> >       </cfdefaultcase>
>> > </cfswitch>
>> >
>> > Duncan Cumming
>> > New Media Developer
>> > Customer Relations Management / Education Fife Council 700 4105 /
01592
>> > 414105
>> >
>> >
>> > ********************************************************************
>> > **
>> > This email and any files transmitted with it are confidential and
>> intended
>> > solely for the use of the individual or entity to whom they are
>> addressed
>> > and should not be disclosed to any other party.
>> > If you have received this email in error please notify your system
>> manager
>> > and the sender of this message.
>> >
>> > This email message has been swept for the presence of computer
viruses
>> but
>> > no guarantee is given that this e-mail message and any attachments
are
>> free
>> > from viruses.
>> >
>> > Fife Council
>> > Tel: 08451 55 00 00
>> > ************************************************
>> >
>> > _______________________________________________
>> >
>> > For details on ALL mailing lists and for joining or leaving lists,
>> go to
>> > http://list.cfdeveloper.co.uk/mailman/listinfo
>> >
>> > --
>> > CFDeveloper Sponsors:-
>> > >- Hosting provided by www.cfmxhosting.co.uk -<
>> > >- Forum provided by www.fusetalk.com -<
>> > >- DHTML Menus provided by www.APYCOM.com -<
>> > >- Lists hosted by www.Gradwell.com -<
>> > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your
>> help
>> > >-<
>> >
>> > _______________________________________________
>> >
>> > For details on ALL mailing lists and for joining or leaving lists,
>> go to
>> > http://list.cfdeveloper.co.uk/mailman/listinfo
>> >
>> > --
>> > CFDeveloper Sponsors:-
>> > >- Hosting provided by www.cfmxhosting.co.uk -<
>> > >- Forum provided by www.fusetalk.com -<
>> > >- DHTML Menus provided by www.APYCOM.com -<
>> > >- Lists hosted by www.Gradwell.com -<
>> > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your
>> help
>> -<
>>
>>
>>
>> _______________________________________________
>>
>> For details on ALL mailing lists and for joining or leaving lists, go
to
>> http://list.cfdeveloper.co.uk/mailman/listinfo
>>
>> --
>> CFDeveloper Sponsors:-
>> >- Hosting provided by www.cfmxhosting.co.uk -<
>> >- Forum provided by www.fusetalk.com -<
>> >- DHTML Menus provided by www.APYCOM.com -<
>> >- Lists hosted by www.Gradwell.com -<
>> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your
help
>> -<
>> _______________________________________________
>>
>> For details on ALL mailing lists and for joining or leaving lists, go
to
>> http://list.cfdeveloper.co.uk/mailman/listinfo
>>
>> --
>> CFDeveloper Sponsors:-
>> >- Hosting provided by www.cfmxhosting.co.uk -<
>> >- Forum provided by www.fusetalk.com -<
>> >- DHTML Menus provided by www.APYCOM.com -<
>> >- Lists hosted by www.Gradwell.com -<
>> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your
help
>> -<
>>
>
>
>


___________________________________________________________
Try the all-new Yahoo! Mail. "The New Version is radically easier to use"
– The Wall Street Journal
http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
-<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to