I use listQualify and enclose my values with double quotes and it keeps
leading zeros.

Stace

-----Original Message-----
From: John Venable [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 07, 2002 2:33 PM
To: CF-Talk
Subject: Re: SOT: showing leading zeros in CSV

Can't you set the column properties to include leading zeroes? I know you
can in Access, I had to do it for zip codes.

John Venable


on 6/7/02 2:10 PM, BEN MORRIS at [EMAIL PROTECTED] most eloquently stated:

> List,
> 
> I am looking for a way to show numeric values in a csv file preserving
leading
> zeros. For instance, say someone's ssn is "005353828" I want it to show up
> that way instead of "5353828".  Anyone out there have any nuggets of
wisdom to
> do this in excel?
> 
> In last field in the below example (in MS Excel 97), the single quotes
show
> along with the leading zeros, the double quotes make no difference, the
="001"
> shows up as desired when viewed, but the value is '="100"' so it might
cause
> more trouble than it is worth.  Reformatting all of the fields as text
won't
> do anything because it drops the leading zeros from the value, it isn't a
> formatting issue.  I couldn't find a way to import the info manually, and
> specify a text qualifier.
> 
> a,b,c,d,5,001,'001'
> a,b,c,d,5,001,"001"
> a,b,c,d,5,001,="001"
> 
> gracias por adelantado
> - Ben Morris
> 
> 

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to