> I am trying to convert an excel spreadsheet into a dbf
> format.
>
> When I tried this from excel (using Save AS), I found that
> field contents and headers were being truncated,.....
Hi Paul,
I do this procedure from time to time. It's important to widen all the
columns first so that they're sized to the maximum size of the data.

Signature
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden@mvps.org www.cindywinegarden.com
Paul - 15 Jun 2004 09:53 GMT
Thanks for the suggestion - but no luck I am afraid. I
used AutoFit to widen the columns, but got the same resul.
Once I have 'Saved As' the data appears ok - but if I
close and then reopen the created DBF file, one column
seems to be truncated to 22chars and another to 43! (the
other columns are only 3-8 chars in length and are all ok).
>-----Original Message-----
>> I am trying to convert an excel spreadsheet into a dbf
[quoted text clipped - 7 lines]
>I do this procedure from time to time. It's important to widen all the
>columns first so that they're sized to the maximum size of the data.
Cindy Winegarden - 15 Jun 2004 17:12 GMT
> Thanks for the suggestion - but no luck I am afraid.
I've found that saving to a CSV file and importing into FoxPro is the most
foolproof way to import data, however, you have to make sure the numerical
fields aren't formatted with commas for the hundreds.

Signature
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden@mvps.org www.cindywinegarden.com