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

2007-06-28 Thread alex poyaoan
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

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

2007-06-27 Thread Tanjible Developer
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

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

2007-06-27 Thread Bobby Hartsfield
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:

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 cfoutput