Objectmix
Tags Register Mark Forums Read

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...


Object Mix > Framework and Interface Programming > DOTNET > 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 Discussion forums related to Microsoft Dot net technologies, CSharp and other related items

Reply

 

LinkBack Thread Tools
  #1  
Old 02-21-2004, 12:45 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default 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.

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


Reply With Quote
  #2  
Old 02-23-2004, 12:51 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: 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.

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)
Reply With Quote
Reply

Thread Tools


Similar Threads

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


All times are GMT -5. The time now is 11:05 PM.