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 / August 2005

Tip: Looking for answers? Try searching our database.

importing exel data - defining data type in access fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mitja decman - 10 Aug 2005 13:40 GMT
Hi,

I have excel 2003 table with first row as field names and next row (fro now)
with data. I imported to Access 2003 fine.
I noticed that if the field in excel is a number, ie. 1, access makes a
double filed, and if it is a string, ie. "dog", access makes text data type,
255 length.
How do I define that I want Integer data type for numbers from excel and
text data type, length 10 for strings from excel?
If this is not possible at import how do I change all double fields to
integer fields, doing it manualy takes to much time (250 fields in a table).

Thanks
Mitja Deèman
Klatuu - 10 Aug 2005 14:25 GMT
The best way (IMHO) is to define your table in Access with the field
definitions you want.  Then, when you import, instead of importing to a new
table, import to an existing table.  You just need to empty the contents of
the existing table before importing new data.

> Hi,
>
[quoted text clipped - 10 lines]
> Thanks
> Mitja Deèman
 
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.