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 / New Users / January 2005

Tip: Looking for answers? Try searching our database.

Large Excel test fields into Access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
eec - 11 Jan 2005 02:27 GMT
I'm doing a project where I have to use the existing data in a large Excel
database, and am trying to find a way to override the 255 character limit in
an Access text field.  The field I need from Excel is often between 4 and 500
characters long, and I don't want to alter the format as there are thousands
of records I would have to deal with.
John Nurick - 11 Jan 2005 05:54 GMT
Hi Eec,

Try one of the following:

1) Create an empty table in Access that has the same field names as your
Excel sheet. Where Excel has large text filds, the Access table should
have memo rields. Then import the Excel data into the Access table.

2) Rearrange the rows in the Excel data (or add a dummy first row of
data) so that every column that may include a cell containing more than
255 characters does have more than 255 characters in that first row (the
idea is to force these columns to be interpreted as Memo rather than
Text).

3) The methods discussed at
http://www.dicks-blog.com/excel/2004/06/external_data_m.html

>I'm doing a project where I have to use the existing data in a large Excel
>database, and am trying to find a way to override the 255 character limit in
>an Access text field.  The field I need from Excel is often between 4 and 500
>characters long, and I don't want to alter the format as there are thousands
>of records I would have to deal with.

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
eec - 12 Jan 2005 01:59 GMT
Thanks. The dummy row did the trick, and made what seemed an impossible
project feasible.

> I'm doing a project where I have to use the existing data in a large Excel
> database, and am trying to find a way to override the 255 character limit in
> an Access text field.  The field I need from Excel is often between 4 and 500
> characters long, and I don't want to alter the format as there are thousands
> of records I would have to deal with.
 
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.