Adobe Dreamweaver Forums



Last 10 THreads :         Oh, Mr and Ms Wizards ... ! (Last Post : Walter Elias - Replies : 1 - Views : 2 )           »          Help a newbie :D (Last Post : garoufal - Replies : 0 - Views : 1 )           »          Strange Flash Player Window (Last Post : Demian Darth - Replies : 0 - Views : 1 )           »          Flash 10 hangs Internet Explorer 7 on Vista? (Last Post : Gary Goldblum - Replies : 67 - Views : 575 )           »          Rate My Site Please (Last Post : Ian Edwards - Replies : 2 - Views : 3 )           »          Temporary files of Flash 10 (Last Post : Johnny Grows - Replies : 0 - Views : 1 )           »          How to get source code in the video examples (Last Post : mikeLeeds - Replies : 6 - Views : 25 )           »          Dynamic Navigation bar from OReilly (Last Post : highlander_1 - Replies : 2 - Views : 3 )           »          titleWindow nightmare (Last Post : SujitG - Replies : 4 - Views : 5 )           »          Newbie problem please help ... (Last Post : tomas.skg - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags: , , ,



Reply
  #1 (permalink)  
Old 09-08-2008, 12:16 AM
Ted Schuler
 
Posts: n/a
Diggs:
Default <cfgrid> display strips leading 0

I have a table with a column that is defined as varchar(30) (MS SQL Server
2005). Probably 99% of the values in the column are numeric, but the value can
also include an alpha character. Most of the values are three numeric
characters , such as 003, 058, or 792. However, the value can be any number of
characters (e.g., 0000885 or CRO549),

The values are correctly stored in the database tables with the leading 0's
intact. When I make my query and display the results in a <cfgrid> form, if
the value in the table has characters that are all numeric, the leading 0's are
stripped. Is there a way to make the display to not delete the leading 0's?

If the value in the table has at least one alpha character in it, the leading
0'sare not stripped when displayed.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-08-2008, 01:09 AM
Azadi
 
Posts: n/a
Diggs:
Default Re: <cfgrid> display strips leading 0

http://www.coldfusionjedi.com/index....ng-zeros-issue

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 08:54 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk