Should be easy.
I've written some code to add an "s" on the end of a word if the record
count is either zero or plural.
The following code works fine ........
Fragment 1
#GetGifts.RecordCount# Gift<CFIF GetGifts.RecordCount IS NOT 1>s</CFIF>
e.g.
0 Gifts
1 Gift
2 Gifts
..... but when I split the line, and therefore make the code easier to
read .....
Fragment 2
#GetGifts.RecordCount# Gift
<CFIF GetGifts.RecordCount IS NOT 1>
s
</CFIF>
.... it goes all goofy
e.g.
0 Gift s
1 Gift
2 Gift s
How can I keep my nice formatting in fragment 2, but not show that
annoying space before the "s" ?
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/