Decimal field precision is too small to accept the numeric you attempted to add ( error 3761) in Access

Posted on 2007-10-10
Medium Priority
Last Modified: 2008-05-24
I am getting this decimal precision error in a linked table (to an SQL server) and in the subsequent queries that use the field responsible for that error. (I have figured out by trial and error the field that causes the error)
I talked with SQL Database Admin, and was told that the error was with the decimal precision on my end. Is there a way to change the percision of the linked table and is there any other way i can overcome this error for that requried field in my queries?
Question by:mooklander
  • 2
LVL 93

Accepted Solution

Patrick Matthews earned 2000 total points
ID: 20048584
You can only make design changes in the data source, so if you need to change the decimal
precision, it has to be done in the SQL Server db.

Ask the DBA what the decimal precision is, and then set up your queries not to exceed that.
For example, if the column is set up in SQL Server as decimal(10, 4), for example, never
pass more than 10 significant figures, and never pass a number with more than four decimal
places.  Use the Round() function to help with the decimal portion.

Author Comment

ID: 20048851
Thanks Mattew.
the linked table has the following properties. Precision :8, scale:2, decimal places: auto. and my query gives me this error when decimal is set auto or even '0'.
As i told you the linked table also seems to show the same error, so does that mean that there is somehow a  mismatch between the linked table and the actual SQL server table, because the admin says that the errors did not show up when using Sql server Query Analyzer?
LVL 93

Expert Comment

by:Patrick Matthews
ID: 20049002

WHat kind of query are you trying to run?

BTW, the biggest number you can fit into a decimal(8, 2) is 999999.99; if you try to put in a number
bigger than that it will fail.  Could that be the problem?


LVL 46

Expert Comment

ID: 20056110
Hi mooklander,

Try changing the field to Currency

Good Luck!


Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Viewers will learn how the fundamental information of how to create a table.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

755 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