?
Solved

Runtime Error 3163

Posted on 2003-03-26
3
Medium Priority
?
1,386 Views
Last Modified: 2013-12-25
Hi,

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.

Thanks.
0
Comment
Question by:Alabastersheen
3 Comments
 
LVL 3

Expert Comment

by:happel
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).


0
 

Accepted Solution

by:
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.
0
 
LVL 1

Expert Comment

by:ayufans
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.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

ayufans
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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

578 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