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 : Invalid argument valueSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Invalid argument value 
 Author   Message 
  Joyce Beck 
  
 Group: Members 
 Posts: 12 
 Joined: 2006-10-18 
 Profile
 Posted : 2009-02-18 22:35:04

QB is 2006 Pro UK, QODBC 9.00.00.253 Access 2003

I have an update query to modify the value of a customer custom field value on the invoices table. I'm getting this message:

[Microsoft][ODBC Driver Manager] Invalid argument value (#0) [QODBC] Option value changed. (#11069)

Can someone tell me what this means, please?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2009-02-19 10:33:15
Check the end of the QODBC Message Log (see the Messages Tab in the QODBC Setup Screen) for the actual SQL Statement and QODBC error. 

  Top 
  Joyce Beck 
  
 Group: Members 
 Posts: 12 
 Joined: 2006-10-18 
 Profile
 Posted : 2009-02-19 12:01:24

I have hundreds (I'm guessing one for each invoice?) of occurrences of this:

2009-02-18 11:01:41 QODBC Ver: 9.00.00.253 *********************************************************************************************************************

IsAService: False

SQL Statement: SELECT "TxnID","EditSequence","CustomFieldVFBatchNo" FROM "Invoice" WHERE "TxnID" = ?

Optimizer Passthrough Disabled

Unknown Reason

The log file goes back to April 2008, every entry ends "Optimizer Passthrough Disabled   Unknown Reason". Things mostly work ok, but this sound like something's wrong with the optimizer setup?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2009-02-19 17:15:19
Ok, try looking at: How do I setup the QODBC Optimizer? Where are the Optimizer options? and SLOW performance using MS Access and QuickBooks 2008 Enterprise Edition  

  Top 
  Joyce Beck 
  
 Group: Members 
 Posts: 12 
 Joined: 2006-10-18 
 Profile
 Posted : 2009-02-20 00:19:18

I've had a good read through both those threads (not for the first time), and I can't see anything wrong with my setup. There's an instruction to 'unlink all the QODBC tables in your existing MS Access .mdb(s)' - is there an easy way to do this, or do I have to delete all the link tables? That's going to make a lot of work recreating them and all the references to them. 

So I tried creating a new blank mdb, linking to the Accounts table and opening it. The table is returned with lots of #deleted# rows, and I get the same message in the log file: Optimizer Passthrough Disabled, Unknown Reason.

I tried doing a 'Load updated data' from the setup screen. Same again. Is it re-install time, do you think? The thing is, I use appending and updating queries several times a day and they work. The speed is slower than at home, but not bad -  my home PC is much better and I'm not processing across a network there.

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2009-02-20 10:04:18
Well the problem is that MS Access doesn't care what your current optimizer settings are. It's time for you to clear the Message Log and run some queries in VB Demo to see whether or not QODBC is running correctly. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to