473,395 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Error "Field is not large enough to hold the data....."

I am working with Access 2003 and am getting a "The field into which you tried to insert or paste data is not large enough to hold the data. Try inserting or pasting less data."

I copied and pasted that from the help topics so that is not the exact word for word error.

The problem is that it only comes up with one certain choice and it's three characters long "PP5". This is the only one that has the problem out of about 25 or so choices, which are pulled from a table, most of which are longer than three characters???

Any ideas would be greatly appreciated!

Thanks
Feb 3 '10 #1

✓ answered by Delerna

Some questions that might help you find the problem.

What is the field type of the field holding the data "PP5" ?
What is the field type of the field you are trying to insert "PP5" into?
How many characters are really in the Data "PP5"?
write a query that selects that data and use Test:len(FieldName) in the query to find out how many characters.

I suspect that there might be a heap of spaces following the "PP5"
Or I have occasionally seen, in access, a carriage return character following the actual data in a field and then following the carriage return there will be a heap of erronious data following the carriage return character.
I have seen that usually in linked SQL Server tables.
Open the table in access and all you see is the normal data.
Open the table in SQL server and you see all the erronious data as well.

2 2707
Delerna
1,134 Expert 1GB
Some questions that might help you find the problem.

What is the field type of the field holding the data "PP5" ?
What is the field type of the field you are trying to insert "PP5" into?
How many characters are really in the Data "PP5"?
write a query that selects that data and use Test:len(FieldName) in the query to find out how many characters.

I suspect that there might be a heap of spaces following the "PP5"
Or I have occasionally seen, in access, a carriage return character following the actual data in a field and then following the carriage return there will be a heap of erronious data following the carriage return character.
I have seen that usually in linked SQL Server tables.
Open the table in access and all you see is the normal data.
Open the table in SQL server and you see all the erronious data as well.
Feb 3 '10 #2
Delerna,

Thank you so much! You nailed it! When I went into the table and clicked just after PP5 and started hitting delete, I saw about 60 or more characters hidden in there! It must have been when I pasted all that info in there, I screwed up and pasted it all in with PP5 too!

Again, thank you! It's been driving me crazy over the last few days!!!!!
Feb 4 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Vincento Harris | last post by:
Anyone knows what would cause this?When Enterprise Manager is used to open a table Runtime error data provider or other service provided an efail status
0
by: Dirk Försterling | last post by:
Hi all, a few days ago, I upgraded from PostgreSQL 7.2.1 to 7.4, following the instructions in the INSTALL file, including dump and restore. All this worked fine without any error (message). ...
0
by: Lauren Wilson | last post by:
The error does not have an error number. It's not even a normal Access error message box. Hope someone has some insight to this problem. I have a form that contains a large (5" x 4") text box...
1
by: teddysnips | last post by:
FRONT END: ACCESS 2000 SP3 BACK END: SQL SERVER 2000 I have been making some modifications to the front end, and a completely unrelated error has occurred. It is unrelated, because the...
0
by: XML newbie: Urgent pls help! | last post by:
I am using VB.Net. Asset List is a long array of AssetIds. I declare it as: Dim AssetList(0) As Long AssetList(0) = 47288 Now, I pass an array of AssetIDs as long from here into the...
2
by: Halid Umar A M | last post by:
Dear All, Please tell me why this error is occuring. The following is the code snippets which i have typed. struct mystructure{ struct list_head m; //error: field m has incomplete...
3
by: Dan | last post by:
Hi, I'm learning asp.net 2.0 and i get this error: "Data source is an invalid type. It must be either an IListSource, IEnumerable, or IDataSource" My code: Dim a As GridView Dim...
3
by: vishwaskothari | last post by:
What is wrong in the following Statement? Dim mydate As Date Format(mydate, "m/d/yy") rs.Open "SELECT * from accounts where date='" & mydate & "';", con, adOpenStatic, adLockOptimistic
0
by: amuven | last post by:
Hi All, I have created xls using pyExcelerator. when i tried to open that xls sheet i'm getting this error message "File error: data may have been lost " , Please some one help me how to rectify...
6
by: nina01 | last post by:
Hi everybody!! I'm actually trying to construct a compiler with flex and bison. But when I try to compile the"lex.yy.c" file on cygwin I keep having this error: $gcc -c lex.yy.c In file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.