Re: making leading zero's visible

From: Alan Little (alan_at_n-o-s-p-a-m-phorm.com)
Date: 05/11/04


Date: Tue, 11 May 2004 10:35:16 -0500

Carved in mystic runes upon the very living rock, the last words of LRW of
comp.lang.php make plain:

> Anyway, I'm generating a text file, a CSV, that contains addresses
> from a database. Zip codes that have a leading zero (eg: 01234) has
> that 0 in the database, and it appears to have it when it's being
> inserted and written to the text file, but when you view it in Excel
> it goes away.

When importing, after you specify the delimiter, on the next screen select
all the fields and change the type to Text rather than General. You can
select all the fields at once.

-- 
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/


Relevant Pages

  • Re: making leading zeros visible
    ... Carved in mystic runes upon the very living rock, the last words of LRW of ... comp.lang.php make plain: ... > that 0 in the database, and it appears to have it when it's being ...
    (comp.lang.php)
  • Re: OT: New "Doctor Who" comes to the U.S.
    ... Carved in mystic runes upon the very living rock, the last words of Amy ... >> Amy Guskin of rec.arts.sf.tv.babylon5.moderated make plain: ...
    (rec.arts.sf.tv.babylon5.moderated)
  • Re: New "Doctor Who" comes to the U.S.
    ... Carved in mystic runes upon the very living rock, the last words of Amy ... >> Amy Guskin of rec.arts.sf.tv.babylon5.moderated make plain: ...
    (rec.arts.sf.tv.babylon5.moderated)
  • Re: Name Terminology
    ... Wolfgang Zenker of rec.heraldry make plain: ... >> Carved in mystic runes upon the very living rock, ... "Van" can be a Western name too: ...
    (rec.heraldry)
  • Re: Volume 7
    ... Carved in mystic runes upon the very living rock, ... Methuselah Jones says... ... Dennis of rec.arts.sf.tv.babylon5.moderated make plain: ...
    (rec.arts.sf.tv.babylon5.moderated)