You don't mention how you're moving the data to Excel: exporting from
VFP as CSV, opening the DBF in Excel, or one of the many other ways.

What if you were to prepend a single quote to the field in VFP before
you exported the data? That's the usual signal to excel to treat what
follows as string even if it is all numbers.


On Mon, Aug 22, 2011 at 2:02 PM, Kurt Wendt <kurtwe...@waitex.com> wrote:
> Actually - the field that I am exporting already IS a Character field!
> -K-
>
> -----Original Message-----
> From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com]
> On Behalf Of Sytze de Boer
> Sent: Monday, August 22, 2011 1:55 PM
> To: profoxt...@leafe.com
> Subject: Re: FoxPro to Excel & Exponential Looking Data
>
> Does it still happen if you turn the number into a character string ?
>
>
> On Tue, Aug 23, 2011 at 5:50 AM, Kurt Wendt <kurtwe...@waitex.com>
> wrote:
>> I looked thru all the old e-mails I got from ProFox and could not seem
>> to find this. Even though I am SURE someone in the group mentioned
> this
>> problem - and somewhat recently. Oh well, here goes...
>>
>>
>>
>> I have this one utility that needs to export data to Excel. Which, for
>> the most part - it does it just fine. The problem is, I need to be
> able
>> to export this like a FedEx or UPS Tracking # that the user must
> enter.
>> And, if that tracking number is big and all digits (like 18 digits
> long)
>> - when you open the Excel file - those tracking numbers get displayed
> as
>> some kind of Exponential number.
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CACW6n4v=WnC88jDzAqpN0BSKKfRj6YqN0TQ6+hFUdPiO=ho...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to