You could always use #numberformat(qdfResult.numberfield, "0000000")#

Martin Parry
http://www.beetrootstreet.co.uk

-----Original Message-----
From: Jeff Waris [mailto:[EMAIL PROTECTED] 
Sent: 03 December 2004 21:50
To: CF-Talk
Subject: Preserve Leading 0's question in cfoutput.

Here's an interesting one...

I have a text field in a database that contains numbers because of a
need to
PRESERVE leading 0's
i.e.
0001234
0123
12300

Using a regular query, pulling the numbers OUT of the database DROPS the
leading 0's in the cfoutput. Almost like cold fusion is treating it as a
number not a text field. Is there any way to preserve those leading 0's
inside a CFoutput??

Thanks..

Jeff




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186184
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to