A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Crystal Reports Export to Excel - Retaining Leading Zeros



 
 
Thread Tools Display Modes
  #1  
Old November 1st, 2004, 03:46 PM
CR-Tech
external usenet poster
 
Posts: n/a
Default Crystal Reports Export to Excel - Retaining Leading Zeros

Crystal Enterprise is the web-based front-end server which displays
stored/linked Crystal reports to my target audience. I use an export
function that sends the report data to a .csv file so my users can open and
manipulate it in Excel. The file I'm trying to create MUST maintain the data
types of the underlying data fields, but currently is not retaining leading
zeros.

Leading zeros in various fields (ID#/SSN, Zip Codes, etc.) are not
recognized and retained by Excel because it seems the incoming field data is
seen as numerical instead of text. Using known pre-Excel formatting tricks
employing various combinations of using an apostrophe before the data,
enclosing the data in quotation marks (before and after), and using space(s)
in combination with the ' or " characters proves ineffective.

I am trying to correctly force-format the data containing leading zeros as
TEXT, BEFORE it reaches Excel, in order to retain these leading zeros.

Please offer assistance or solutions. Your help is most appreciated. Thanks.

  #2  
Old November 1st, 2004, 06:15 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default

Hi
see your other post

--
Regards
Frank Kabel
Frankfurt, Germany


CR-Tech wrote:
Crystal Enterprise is the web-based front-end server which displays
stored/linked Crystal reports to my target audience. I use an export
function that sends the report data to a .csv file so my users can
open and manipulate it in Excel. The file I'm trying to create MUST
maintain the data types of the underlying data fields, but currently
is not retaining leading zeros.

Leading zeros in various fields (ID#/SSN, Zip Codes, etc.) are not
recognized and retained by Excel because it seems the incoming field
data is seen as numerical instead of text. Using known pre-Excel
formatting tricks employing various combinations of using an
apostrophe before the data, enclosing the data in quotation marks
(before and after), and using space(s) in combination with the ' or "
characters proves ineffective.

I am trying to correctly force-format the data containing leading
zeros as TEXT, BEFORE it reaches Excel, in order to retain these
leading zeros.

Please offer assistance or solutions. Your help is most appreciated.
Thanks.


 




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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linked Table field...strip off leading zeros of text Inyo55 Database Design 1 July 24th, 2004 01:11 AM
Leading Zero's Tami Worksheet Functions 2 November 24th, 2003 03:27 PM


All times are GMT +1. The time now is 11:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.