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 : Missing rows on data read.Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Missing rows on data read. 
 Author   Message 
  Nick 
  
 Group: Members 
 Posts: 1 
 Joined: 2006-04-08 
 Profile
 Posted : 2006-04-08 08:39:53

I am using QB pro 2006 with all the latest updates.  There are currently 2196 customers in my QB db.  When I use QODBC in my VB.net app and attempt to get all these customers, I only get 2185 of them.  There does not seem to be any common feature with the missing customers that I can determine.  When I run VBdemo32.exe, I miss the same customers.  I have verified the data and backed up and restored the data.  It all appears fine in QB but not when read with QODBC.  I am using the following connect string: 

"PROVIDER=QODBC;DRIVER={QODBC Driver for Quickbooks};DFQ=" & <my QB file>

I am simply doing a "Select * from Customer"

 

Please help and thanks.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-08 09:13:37
When this happens you can resync your optimized customer table by running:-

sp_optimizefullsync customer

or you can by-pass the optimized table by doing:-

select * from customer unoptimized

Please update QODBC to v6.00.00.155 (or later) for our fix to the optimizer.

 

  Top 
  kcook 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-04-27 
 Profile
 Posted : 2006-04-27 08:09:22

I'm having the same problem. I've linked a QuickBooks file to an MS Access database via QODBC. One line item in quickbooks (a journal debit) did not appear when i opened the JournalEntryDebitLine. The JournalEntryDebitLine table should have 30 rows but QODBC only sees 29. I turned off optimizer in DNS and opened the table again. Now I get 30 rows but one is populated with #DELETED in each field. I tried querying the table with the VB Demo 32 and I get all 30 rows as expected. When i deleted and reentered the problem row in quickbooks, QODBC saw the row in Access so all 30 rows appeared.

We need to rely that all rows that are in QB are visible in MS Access. Any ideas how to resolve this?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-27 18:28:26

To tell you the truth, MS Access is the main problem here as once you connect a linked table, it will store the connection string so if optimizer is on when you first connected and you later switch it off, it will be still be on using Access.

For critical operations I always use a pass-thru query as I can control the exact SQL and connection settings, see: How do I create a Pass-Through Report using Microsoft Access 2003?  for more info.

 

  Top 
  kcook 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-04-27 
 Profile
 Posted : 2006-04-28 00:17:50

The pass thru query returned all 30 rows so this issue is resolved for me.

Thanks...

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to