ERROR [22001] [Microsoft][ODBC Excel Driver] The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. : DOTNET
This is a discussion on ERROR [22001] [Microsoft][ODBC Excel Driver] The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. within the DOTNET forums in Framework and Interface Programming category; Hi, I'm using ODBC DSN less connection to load an EXCEL file into a dataset. It's raising the error "ERROR [22001] [Microsoft][ODBC Excel Driver] The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data." The problem is one of the column in a excel sheet is having a data of lenght more that 260 chars. How to load an excell sheet whose cells are having lengthy text(around 400 chars)? Thanks in advance. Gopinath Munisifreddy...
| DOTNET Discussion forums related to Microsoft Dot net technologies, CSharp and other related items |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| I'm using ODBC DSN less connection to load an EXCEL file into a dataset. It's raising the error "ERROR [22001] [Microsoft][ODBC Excel Driver] The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data." The problem is one of the column in a excel sheet is having a data of lenght more that 260 chars. How to load an excell sheet whose cells are having lengthy text(around 400 chars)? Thanks in advance. Gopinath Munisifreddy |
|
#2
| |||
| |||
| On Sat, 21 Feb 2004 11:15:25 +0530, "Gopinath Munisifreddy" <Gopinath@Microsoft.com> wrote: ¤ Hi, ¤ I'm using ODBC DSN less connection to load an EXCEL file into a dataset. ¤ It's raising the error ¤ "ERROR [22001] [Microsoft][ODBC Excel Driver] The field is too small to ¤ accept the amount of data you attempted to add. Try inserting or pasting ¤ less data." ¤ ¤ The problem is one of the column in a excel sheet is having a data of lenght ¤ more that 260 chars. ¤ ¤ How to load an excell sheet whose cells are having lengthy text(around 400 ¤ chars)? I believe that 255 characters is the limit when performing an Insert into an Excel column using the data access drivers. Paul ~~~ pclement@ameritech.net Microsoft MVP (Visual Basic) |
![]() |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ERROR [07002] [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect | usenet | DOTNET | 3 | 05-05-2006 07:11 AM |
| Microsoft][ODBC Excel Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x1050 Thread 0x10a8 DBC 0x225e154 Excel' | usenet | Inetserver | 3 | 03-03-2006 08:54 AM |
| [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression. | usenet | Inetserver | 2 | 03-09-2005 05:15 AM |
| ERROR [07002] [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect | usenet | DOTNET | 0 | 07-29-2004 02:46 AM |
| System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not | usenet | DOTNET | 1 | 05-07-2004 08:38 AM |




