Thanks that did the trick...
cfoutput query=test
cfif position is 1
#CITY# #CODE#
cfelse
#CODE# #CITY#
/cfif
/cfoutput
..
:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: alex poyaoan [mailto:[EMAIL
This should do it for you.
cfoutput query=test
cfif position EQ 1
#CITY# #CODE#
cfelse
#CODE# #CITY#
/cfif
/cfoutput
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
cfoutput query=test
cfif position is 1
#CITY# #CODE#
cfelse
#CODE# #CITY#
/cfif
/cfoutput
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: alex poyaoan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 9:15 AM
To:
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
cfoutput
4 matches
Mail list logo