× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



But I also have seen some programs export all their CSV data between quotes
whether it was text or numeric.  The thing is, there is no "standard" for
CSV in this regards.   All quotes are for is to incorporate white space and
commas into a field.  They are not there for data description.  If you want
data description in a text file, you need to use XML.  If you want data
description in excel, you need to tell excel.  You have to play by the rules
of the format you are using.

I believe Lotus 1-2-3 does the exact same thing as Excel and chops leading
zeros off of the fields.

----- Original Message ----- 
From: "Douglas Handy" <dhandy1@xxxxxxxxxxxxx>
To: "PC Technical Discussion for iSeries Users" <pctech@xxxxxxxxxxxx>
Sent: Wednesday, February 25, 2004 2:57 PM
Subject: Re: [PCTECH] Exprting data into Excel drops leading zero


> Adam,
>
> >How is Excel supposed to know? Guess?
>
> No, but by the presence of the double quotes around a value, even if it
only
> contains digits.  But Excel's automatic (ie non-wizard based text import)
> handling of CSV's treats any value as a number which can be interpretted
as
> numeric regardless of the presence of quotes.
>
> Doug
> _______________________________________________
> This is the PC Technical Discussion for iSeries Users (PcTech) mailing
list
> To post a message email: PcTech@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/pctech
> or email: PcTech-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/pctech.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.