Solved

ODBC Linked Table Problem

Posted on 2004-09-03
4
352 Views
Last Modified: 2008-02-01
I have an Access Database that has a linked table to an ODBC data source.  The table has a field called RTCOST which is a Decimal field with a Precision of 9 and a Scale of 3, Decimal Places are set to Auto.

I can list the contents of the table but If I try to create a Make table query i.e take the contents of the linked table and dump it into an Access local table I get a Access error message which says : The decimal fields precision is too small to accept the numeric you attempted to add.

I've told the company who administer the database where the linked table comes from but they insist its correct.

Can anyone suggest a workaround
0
Comment
Question by:Northumberland
[X]
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
4 Comments
 
LVL 7

Expert Comment

by:Navicerts
ID: 11972263
Linking it to FoxPro?
0
 
LVL 51

Expert Comment

by:Gustav Brock
ID: 11972399
Create the table first using currency as data type for the decimal field.
The run an append query.

/gustav
0
 
LVL 66

Expert Comment

by:Jim Horn
ID: 11975312
Access chokes on Decimal field types constantly.  The only workaround I can think of would be to reformat the field to something other than Decimal (Double?), then link tables.

0
 
LVL 2

Accepted Solution

by:
PendragonZero earned 500 total points
ID: 11975316
read it from the table as a string and convert it back to decimal
use this CDbl(Cstr([RTCOST]))
pen
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

636 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