Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : QODBC Decimal ErrorSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v7 Forum

 New Topic 
 
 Post Reply 
[1]  
 QODBC Decimal Error 
 Author   Message 
  Thatsmej 
  
 Group: Members 
 Posts: 8 
 Joined: 2007-02-25 
 Profile
 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

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 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".

 

  Top 
  Thatsmej 
  
 Group: Members 
 Posts: 8 
 Joined: 2007-02-25 
 Profile
 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 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 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. 

  Top 
  Thatsmej 
  
 Group: Members 
 Posts: 8 
 Joined: 2007-02-25 
 Profile
 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? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-03-24 22:09:09

The QODBC optimizer can be switched off. See: How do I setup the QODBC Optimizer? Where are the Optimizer options? 

Work has been done to support the use of , (commas) as the decimal symbol on output, however INSERT, UPDATES and WHERE statements will need to continue to use . (decimal).

 

  Top 
  Thatsmej 
  
 Group: Members 
 Posts: 8 
 Joined: 2007-02-25 
 Profile
 Posted : 2007-03-24 22:59:49
"Work has been done to support the use of ,"
Is that update already available for download? 

  Top 
  Thatsmej 
  
 Group: Members 
 Posts: 8 
 Joined: 2007-02-25 
 Profile
 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.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 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). 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to