RE: CFCase - Number in range of values
It is close to the end of the day, but I think your suggestion will work. Thanks a lot for the help. -Original Message- From: Hayes, David [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 3:10 PM To: CF-Talk Subject: RE: CFCase - Number in range of values You could move those to the . If you know that the appropriate value can always be determined by the first digit, you could do another using left(attrib,1) as your expression. -Original Message- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 1:39 PM To: CF-Talk Subject: RE: CFCase - Number in range of values Let me expand to better represent my code: Women's Footwear/Walking Women's Footwear/Running Baseball/Softball Wrestling Kid's Footwear/Infant Boy's Kid's Footwear/Infant Girl's Kid's Apparel/Boy's Apparel Other Category -Original Message- From: Hayes, David [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 11:01 AM To: CF-Talk Subject: RE: CFCase - Number in range of values You can use . -Original Message- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 10:10 AM To: CF-Talk Subject: CFCase - Number in range of values Is there any way to do the following? (I know case values must be constants). Will I need to test for this possibility before it goes into the CF switch? My Code pbs Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: CFCase - Number in range of values
No. You cannot do this. Cfswitch/cfcase tags check for equality. You can't do a GT or LT comparasion with cfcase. For this kind of conditional logic you have to use a set of if/elseif/else statements, or list all of the numbers between 400 and 499 comme ca. Women's Footwear/Walking Women's Footwear/Running Baseball/Softball Wrestling Kid's Footwear/Infant Boy's Kid's Footwear/Infant Girl's Kid's Apparel/Boy's Apparel Other Category --K -Original Message- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 11:39 AM To: CF-Talk Subject: RE: CFCase - Number in range of values Let me expand to better represent my code: Women's Footwear/Walking Women's Footwear/Running Baseball/Softball Wrestling Kid's Footwear/Infant Boy's Kid's Footwear/Infant Girl's Kid's Apparel/Boy's Apparel Other Category -Original Message- From: Hayes, David [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 11:01 AM To: CF-Talk Subject: RE: CFCase - Number in range of values You can use . -Original Message- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 10:10 AM To: CF-Talk Subject: CFCase - Number in range of values Is there any way to do the following? (I know case values must be constants). Will I need to test for this possibility before it goes into the CF switch? My Code pbs Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: CFCase - Number in range of values
You could move those to the . If you know that the appropriate value can always be determined by the first digit, you could do another using left(attrib,1) as your expression. -Original Message- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 1:39 PM To: CF-Talk Subject: RE: CFCase - Number in range of values Let me expand to better represent my code: Women's Footwear/Walking Women's Footwear/Running Baseball/Softball Wrestling Kid's Footwear/Infant Boy's Kid's Footwear/Infant Girl's Kid's Apparel/Boy's Apparel Other Category -Original Message- From: Hayes, David [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 11:01 AM To: CF-Talk Subject: RE: CFCase - Number in range of values You can use . -Original Message- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 10:10 AM To: CF-Talk Subject: CFCase - Number in range of values Is there any way to do the following? (I know case values must be constants). Will I need to test for this possibility before it goes into the CF switch? My Code pbs Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: CFCase - Number in range of values
Let me expand to better represent my code: Women's Footwear/Walking Women's Footwear/Running Baseball/Softball Wrestling Kid's Footwear/Infant Boy's Kid's Footwear/Infant Girl's Kid's Apparel/Boy's Apparel Other Category -Original Message- From: Hayes, David [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 11:01 AM To: CF-Talk Subject: RE: CFCase - Number in range of values You can use . -Original Message- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 10:10 AM To: CF-Talk Subject: CFCase - Number in range of values Is there any way to do the following? (I know case values must be constants). Will I need to test for this possibility before it goes into the CF switch? My Code pbs Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: CFCase - Number in range of values
You can use . -Original Message- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 10:10 AM To: CF-Talk Subject: CFCase - Number in range of values Is there any way to do the following? (I know case values must be constants). Will I need to test for this possibility before it goes into the CF switch? My Code pbs Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
CFCase - Number in range of values
Is there any way to do the following? (I know case values must be constants). Will I need to test for this possibility before it goes into the CF switch? My Code pbs Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]