QODBC Decimal Error |
Author |
Message |
|
Posted : 2007-02-25 03:22:13 |
Since my experience with QODBC is that its too slow for me. Even after i read the articles, that speeds up the link with Access > QODBC wich where verry usefull.
I wrote an program that uses QODBC to fill my MS Access database. So i can use Access too execute Queries. It worked like charm, until today. Access gave an error: The decimal field's precision is too small to accept the numeric you attempted to add.
I thought the problem was MS Access. So i tracked it down to the ItemInventory table, even the PurchaseCost field. Google told me the problem should be fixed by modifying the query to something like select purchasecost * 1 ... so the query should round nicely. That didnt work for me. I tried lots of solutions. Nothing worked.
I thought it might be better to track the record down. I found that in Quickbooks it purchaseCost was set to "12.361,27731". When modifying it to "12.361,28" everything worked as before.
This was nice for me as a workarround. But i would like to see it solved. I think its some bug in QODBC. Cause changing quickbooks solved the error.
I use regional settings from the netherlands, since i live there ;). But that wasnt an problem before.
I'm using QODBC 7.00.00.192 i noticed its not the most up 2 date version. But i couldnt find anything in the readme from the updates that fixed this error.
If you need more information, please let me know.
Greetings Johan Toonders |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-02-25 10:11:34 |
Sorry, QODBC currently only supports the use of a . (fullstop) as the decimal symbol in the Regional Settings of Windows.
QODBC supports "12361.27731". |
|
|
|
|
Posted : 2007-02-25 22:04:05 |
I'll have a look if changing the regional settings wont mess up other programs. will there be an update to support other regional settings, or not?
Greetings, Johan Toonders |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-02-26 12:12:13 |
I have logged this Enhancement Request with the QODBC Software Engineer under Ticket # ER00000016 for consideration. I will update this post when I hear anything further. |
|
|
|
|
Posted : 2007-03-24 21:48:01 |
Today i ran again into this problem. So i thought modifying the regional settings was going to solve my problem. Since i only wanted to view the table conent once.
But the error remained. So i installed QODBC on an new pc. And changed the regional settings there to UK. And then imported the file. Then it worked.
Is it possible to import an ODBC table to Access without using the cache?
Or is there any news on the Enhancement Request / an working work arround? |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-03-24 22:09:09 |
|
|
|
|
Posted : 2007-03-24 22:59:49 |
"Work has been done to support the use of ," Is that update already available for download? |
|
|
|
|
Posted : 2007-04-28 19:04:59 |
Any news on this topic? I'm getting more and more errors on importing data. And the more errors i get, the less information i can use from QODBC.
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-04-29 17:29:51 |
It's on the list, but it isn't a priority item. Regardless, our workaround will only affect the output from QODBC, all input SQL INSERTs AND UPDATEs will still need to follow the decimal point being a full stop (0.00). |
|
|
|