CFSWITCH expressions

2000-04-18 Thread Bud

Howdy all.

Question. Is it possible to write a complex expression, other than
expression = "#variable#"?

In other words, if I had:

cfswitch expression="#query.recordcount#"

cfcase value="1"
Stuff here
/cfcase

Then how would I write a cfcase for value Greater Than 1?

And can you get even more complex, like using multiple variables in
the expression?

"this is #that# and theother is #somethingelse#"

Thanks.

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFSWITCH expressions

2000-04-18 Thread Olive, Christopher M Mr USACHPPM

i don't see any problem.  in your switch, include cases you want to handle,
then put a default case for all others.

Chris Olive
DOHRS Website Administrator
[EMAIL PROTECTED]


-Original Message-
From: Bud [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 18, 2000 6:51 AM
To: [EMAIL PROTECTED]
Subject: CFSWITCH expressions


Howdy all.

Question. Is it possible to write a complex expression, other than
expression = "#variable#"?

In other words, if I had:

cfswitch expression="#query.recordcount#"

cfcase value="1"
Stuff here
/cfcase

Then how would I write a cfcase for value Greater Than 1?

And can you get even more complex, like using multiple variables in
the expression?

"this is #that# and theother is #somethingelse#"

Thanks.

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=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?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.