Hi all:
I am running a make table query that is supposed to copy the data from our accounting system (store in a SQL database) and create a table in a MS Access 2013 database. When I run the query I get the following error:
The decimal field's percussion is too small to accept the numeric you attempted to add.
I have tried the following and nothing worked:
- As mentioned above used the "make table" query to create the duplicate table.
- Manually created table and ensured all field data types, fields size, precision and scale are all exactly the same as the source table and then tried to append the data from the source table to the manually created table.
- Have adjusted the scale and precision in the manually created table to larger values...as much as precision = 28 and scale =5
- Have also tried changing all numeric fields in my destination table to size "double" and append data to the destination table from the query after applying the Cdbl([fieldname]) function to each field.
I have included a small sample of the data below
Can anyone please HELP me with this. All help is greatly appreciated.
| JnlYear |
JnlMonth |
Journal |
EntryNumber |
TrnType |
Warehouse |
StockCode |
StockDescription |
TrnQty |
EnteredCost |
EnteredBasis |
Reference |
AddReference |
TrnUnitCost |
TrnValue |
PrevUnitCost |
NewUnitCost |
TransferToWh |
Job |
Bin |
StockedFlag |
PurchaseOrder |
PurchaseOrderLin |
BinXferIn |
PrevQtyOnHand |
Notation |
TransferFlag |
GrnSource |
Uom |
BackOrdFlag |
ProductClass |
InterfaceFlag |
Supplier |
Decimals |
GlCode |
GlYear |
GlPeriod |
RejectCode |
SubcontractFlag |
GlUpdated |
AbcElements |
ReceiptValue |
PriceVarUpdGl |
GitExpIssue |
OrigPoQty |
OutstPoQty |
PoDueDate |
LineDueDate |
PoDebitGlCode |
CostVariance |
FifoBucket |
GrnVarGlCode |
UserField1 |
Version |
Release |
CommitmentFlag |
AnalysisEntry |
DrAnalysisEntry |
PriceAnalysisEnt |
TimeStamp |
LotSerial |
| 2017 |
5 |
6249 |
1 |
R |
01 |
08-WW-11123 |
Boot 1 |
2 |
55 |
U |
000000000 |
|
55 |
110 |
58.3 |
56.65 |
|
|
01 |
Y |
000000 |
1 |
|
2 |
INV480451 |
|
1 |
EA |
|
1130 |
P |
V1453 |
3 |
22110-08 |
2017 |
5 |
|
|
|
0 |
0 |
|
|
2 |
0 |
12-Jan-17 |
12-Jan-17 |
|
0 |
0 |
51364-15 |
|
|
|
|
0 |
0 |
0 |
|
|
| 2017 |
5 |
6249 |
2 |
R |
01 |
08-WW-11124 |
Boot 2 |
2 |
55 |
U |
000000000 |
|
55 |
110 |
55 |
55 |
|
|
01 |
Y |
000000 |
2 |
|
-1 |
INV480451 |
|
1 |
EA |
|
1130 |
P |
V1453 |
3 |
22110-08 |
2017 |
5 |
|
|
|
0 |
0 |
|
|
2 |
0 |
12-Jan-17 |
12-Jan-17 |
|
0 |
0 |
51364-15 |
|
|
|
|
0 |
0 |
0 |
|
|
| 2017 |
5 |
6249 |
3 |
R |
01 |
08-WW-12112 |
Boot 3 |
1 |
66.5 |
U |
000000000 |
|
66.5 |
66.5 |
66.5 |
66.5 |
|
|
01 |
Y |
000000 |
6 |
|
-1 |
INV480451 |
|
1 |
EA |
|
1130 |
P |
V1453 |
3 |
22110-08 |
2017 |
5 |
|
|
|
0 |
0 |
|
|
3 |
2 |
12-Jan-17 |
12-Jan-17 |
|
0 |
0 |
51364-15 |
|
|
|
|
0 |
0 |
0 |
|
|
| 2017 |
5 |
6249 |
4 |
R |
01 |
08-WW-31207 |
Boot 4 |
2 |
92 |
U |
000000000 |
|
92 |
184 |
95.695 |
93.23167 |
|
|
01 |
Y |
000000 |
9 |
|
1 |
INV480451 |
|
1 |
EA |
|
1130 |
P |
V1453 |
3 |
22110-08 |
2017 |
5 |
|
|
|
0 |
0 |
|
|
2 |
0 |
12-Jan-17 |
12-Jan-17 |
|
0 |
0 |
51364-15 |
|
|
|
|
0 |
0 |
0 |
|
|
| 2017 |
5 |
6249 |
5 |
R |
01 |
08-WW-31209 |
Boot 5 |
2 |
92 |
U |
000000000 |
|
92 |
184 |
92.24973 |
92.12487 |
|
|
01 |
Y |
000000 |
11 |
|
2 |
INV480451 |
|
1 |
EA |
|
1130 |
P |
V1453 |
3 |
22110-08 |
2017 |
5 |
|
|
|
0 |
0 |
|
|
2 |
0 |
12-Jan-17 |
12-Jan-17 |
|
0 |
0 |
51364-15 |
|
|
|
|
0 |
0 |
0 |
|
|
| 2017 |
5 |
6249 |
6 |
R |
01 |
08-WW-31213 |
Boot 6 |
2 |
92 |
U |
000000000 |
|
92 |
184 |
92 |
92 |
|
|
01 |
Y |
000000 |
12 |
|
1 |
INV480451 |
|
1 |
EA |
|
1130 |
P |
V1453 |
3 |
22110-08 |
2017 |
5 |
|
|
|
0 |
0 |
|
|
2 |
0 |
12-Jan-17 |
12-Jan-17 |
|
0 |
0 |
51364-15 |
|
|
|
|
0 |
0 |
0 |
|
|
| 2017 |
5 |
6249 |
7 |
R |
01 |
08-WW-31214 |
Boot 7 |
2 |
92 |
U |
000000000 |
|
92 |
184 |
92 |
92 |
|
|
01 |
Y |
000000 |
13 |
|
1 |
INV480451 |
|
1 |
EA |
|
1130 |
P |
V1453 |
3 |
22110-08 |
2017 |
5 |
|
|
|
0 |
0 |
|
|
2 |
0 |
12-Jan-17 |
12-Jan-17 |
|
0 |
0 |
51364-15 |
|
|
|
|
0 |
0 |
0 |
|
|
| 2017 |
5 |
6249 |
8 |
R |
01 |
08-WW-31217 |
Boot 8 |
2 |
92 |
U |
000000000 |
|
92 |
184 |
92 |
92 |
|
|
01 |
Y |
000000 |
14 |
|
1 |
INV480451 |
|
1 |
EA |
|
1130 |
P |
V1453 |
3 |
22110-08 |
2017 |
5 |
|
|
|
0 |
0 |
|
|
2 |
0 |
12-Jan-17 |
12-Jan-17 |
|
0 |
0 |
51364-15 |
|
|
|
|
0 |
0 |
0 |
|
|
| 2017 |
5 |
6249 |
9 |
R |
01 |
08-WW-11133 |
Boot 9 |
1 |
55 |
U |
000000000 |
|
55 |
55 |
52 |
55 |
|
|
01 |
Y |
000000 |
15 |
|
-1 |
INV480451 |
|
1 |
EA |
|
1130 |
P |
V1453 |
3 |
22110-08 |
2017 |
5 |
|
|
|
0 |
0 |
|
|
1 |
0 |
12-Jan-17 |
12-Jan-17 |
|
0 |
0 |
51364-15 |
|
|
|
|
0 |
0 |
0 |
|
|