Re: help on dynamic position of fields in cfoutput for postal code

2007-06-28 Thread alex poyaoan
Thanks that did the trick... 




> 
 
> 
   
> #CITY# #CODE#
 
> 
   
> #CODE# #CITY#   
 
> 
> 
> 
..
> :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
> 
> -Original Message-
> From: alex poyaoan [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 27, 2007 9:15 AM
> To: CF-Talk
> Subject: help on dynamic position of fields in cfoutput for postal 
> code
> 
> HI everybody... need help on how to position the postal code on either 
> left or right of the city depending on the given value.. 
> have this table
> 
> CITY CODE POSITION
> CITYA   001001
> CITYB   12
> 
> IF POSITION IS 1 THE CODE SHOULD BE ON THE RIGHT OF THE CITY
> 
> 
> #CITYA# #CODE#
> 
> 
> IF POSITION IS 1 THE CODE SHOULD BE ON THE LEFTOF THE CITY
> 
> 
> #CODE# #CITYB#
> 
> 
> is there a way of doing this dynamically..
> 
> THANKS..
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282444
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


help on dynamic position of fields in cfoutput for postal code

2007-06-27 Thread alex poyaoan
HI everybody... need help on how to position the postal code on either left or 
right of the city depending on the given value.. 
have this table

CITY CODE POSITION
CITYA   001001
CITYB   12

IF POSITION IS 1 THE CODE SHOULD BE ON THE RIGHT OF THE CITY


#CITYA# #CODE#


IF POSITION IS 1 THE CODE SHOULD BE ON THE LEFTOF THE CITY


#CODE# #CITYB# 


is there a way of doing this dynamically..

THANKS..

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282366
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: help on dynamic position of fields in cfoutput for postal code

2007-06-27 Thread Bobby Hartsfield

 
   #CITY# #CODE#
 
   #CODE# #CITY#   
 


..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: alex poyaoan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 27, 2007 9:15 AM
To: CF-Talk
Subject: help on dynamic position of fields in cfoutput for postal code

HI everybody... need help on how to position the postal code on either left or 
right of the city depending on the given value.. 
have this table

CITY CODE POSITION
CITYA   001001
CITYB   12

IF POSITION IS 1 THE CODE SHOULD BE ON THE RIGHT OF THE CITY


#CITYA# #CODE#


IF POSITION IS 1 THE CODE SHOULD BE ON THE LEFTOF THE CITY


#CODE# #CITYB#


is there a way of doing this dynamically..

THANKS..



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282373
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: help on dynamic position of fields in cfoutput for postal code

2007-06-27 Thread Tanjible Developer
This should do it for you.



#CITY# #CODE#

#CODE# #CITY#




On 6/27/07, alex poyaoan <[EMAIL PROTECTED]> wrote:
>
> HI everybody... need help on how to position the postal code on either
> left or right of the city depending on the given value..
> have this table
>
> CITY CODE POSITION
> CITYA   001001
> CITYB   12
>
> IF POSITION IS 1 THE CODE SHOULD BE ON THE RIGHT OF THE CITY
>
> 
> #CITYA# #CODE#
> 
>
> IF POSITION IS 1 THE CODE SHOULD BE ON THE LEFTOF THE CITY
>
> 
> #CODE# #CITYB#
> 
>
> is there a way of doing this dynamically..
>
> THANKS..
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282370
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4