Solved

ODBC Linked Table Problem

Posted on 2004-09-03
4
351 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 50

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 65

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

752 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