Hi All,

I am successfully creating csv files with one expection. Occasionally, I will 
have a column created from a text field, that looks like a number. For example 
6108900015297 Most other data does not look like that there could be letters, 
dashes, etc part if customer PO number. When I open the document this item as 
well as others like it come in as scientific notation. Can anyone advise how I 
might stop that from happening


This is the code I am using. Indeed when you open with text editor the data 
looks correct. It is only when opened by excel where it looks like this 
6.1089E+12
instead of
6108900015297

$line_txt:=$line_txt+Char(Double quote)+Replace 
string($arr_ptr->{$Rows_L};Char(Double quote);Char(Double quote)+Char(Double 
quote))+Char(Double quote)                                         
                                        

------------------------------------------------------------------------------------------------
 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064       
 mailto:cjmiller<AT SIGN>informed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer                
       Providers of 4D and Sybase connectivity
          http://www.informed-solutions.com  
------------------------------------------------------------------------------------------------
This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to