Runtime Error 3163

Posted on 2003-03-26
Medium Priority
Last Modified: 2013-12-25

I'm new to programming in VB6 but have recently developed a database using the DAO structure.

For the most part everything seems to run fine but every so often I get a runtime error 3163 which states

"The field is too small to accept the amount of data you are attempting to add.  Try inserting or pasting less data"

I cannot seem to pin-point why this error occurs.  This is particularly frustating as it usually pops up when I've not added anything new to the database and I'm just viewing the records.

The only thing I can think is that the font sizes I use for displaying the data may be too large but I can't see how this is the case.  I added the larger fonts to make the data more readable.

Any help would be most appreciated.

Question by:Alabastersheen
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8215857
You must do something to get that error...

Do you work with databound-controls, and change field-contents by formatting them (i.e. more data).


Accepted Solution

Alabastersheen earned 0 total points
ID: 8216352
I know - I figured it out last night.

Can't believe I was so thick.

I set up the database to add a space after each field in case one of the fields didn't have any data entered.  What I didn't know that it was appending a space to each of the existing fields and this had a knock on effect as it added spaces to the end of every existing record.

Pretty soon after viewing each record a few times, the existing fields were soon filled up.

Now sorted that particular error and it's working fine.

Thanks anyway.

Expert Comment

ID: 9272292
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- PAQ'd and points refunded

Please leave any comments here within the next seven days.



Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question