MS Access Report won't open in Office 365 C2R - Error 3761 'the decimal field's precision is too small'

230 Views Asked by At

I have a report that works on all of our office computers except two that use office 365. The majority of users have windows 10 pc's with access 2013 runtime, and the report runs without issue on these. Access is our front end to a SQL express db. On the two PC's with office 365, the report won't open, they just get:

Error 3761: the decimal field's precision is too small to accept the numeric you attempted to add.

There are 2 numeric fields on the report; Sum(ActivityValue), and %Complete. These are calculated fields based on these query columns:

ProdActivityLength: DLookUp("SumofLength","qryProdActivitybyDept","itemserialno = " & [dbo_Production_Items].[ItemSerialNo])
ActivityValue: ([ProductionValue]/[ProdActivityLength])*[Length]
%complete: 1-((DSum("length","qryProdSchedCompletion","itemserialno = " & [ItemSerialNo])/[ProdActivityLength]))

The SQL fields Length and ProductionValue are decimal 18,2

Sum(ActivityValue) on the report is Currency, with 0 decimal places. %Complete is Percentage with Auto decimal places.

I cannot think why the percentage field would be causing an issue, so I've been concentrating on the decimal fields.

The report is not trying to write the data back to anywhere, so I've tried changing the 0 decimal places to auto and to 2, but still get the error.

I have also tried changing the controlsource to int(sum(activityvalue) but the same error still occurs.

Does anyone have any idea what is causing this error in Office 365, or other ideas for how to resolve it?

Thank you.

0

There are 0 best solutions below