Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / June 2004

Tip: Looking for answers? Try searching our database.

Export to DBase dbf

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul - 14 Jun 2004 12:30 GMT
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, so
instead I have imported the spreadsheet into an Access
database.

Whenever I try to export to dbase I receive an
error 'Field will not fit in record'.

Any ideas would be gratefully appreciated!

Paul
Cindy Winegarden - 14 Jun 2004 22:42 GMT
> 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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.