Solved

QODBC MS Access and QuickBooks - QuickBooks Crashes

Posted on 2010-08-12
5
855 Views
Last Modified: 2013-11-28
Using Access 2007 , QODBC, and QB Enterprise 2010 R7 to prepare a report in Access

Using an SP_ report check detail , with a cleared status field
Combining with two transaction tables (check and check expense line table)
QuickBooks Crashes when we run the query for a time period greater than 12 months.

Number of records in the check table is 20,000
Number of records in the check expense line table is 25,000

The Query is selecting all check transactions within a date range and printing on
one line the columns for cleared status, memos, payee, address, amount
So to me this is a very simple report.

We can query for a 12 month period but when we query greater than 12 months
(we would like to query for 4 years of data). The QuickBooks aborts after 10 minutes
of running the query.  

We set the iterator (chunk size) to 100,000

Can you offer any suggestions of what to do to solve this problem? The
QB file verifies fine. Do you need additional information?

0
Comment
[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
5 Comments
 
LVL 11

Expert Comment

by:stlinae
ID: 33427137
Have you tried running the report in VBDemo? I'm not a fan of the tool, but it might help point to the cause. (QB or Access)
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 250 total points
ID: 33468178
One other option would be to run a Make table query to import the Qiuckbooks data to a Temp Access table.

This way you are not going "Over the Wire" to fetch all the data, as there may be a timing issue involved here as well
(The report should also run faster)

So on the Open event of your Report, put something like this:

'----Code snippet Start
'Create the temp table
currentDB.execute "SELECT YourQuickBooksTable.* INTO YourTempAccessTable FROM YourQuickBooksTable;",dbfailonerror
'Load the temp table as the Report's Source
me.recordsource="YourTempAccessTable"
'----Code snippet End

;-)

JeffCoachman
0
 

Expert Comment

by:BartWestphal
ID: 33511463
Have you tried an Access PassThrough query?  I've had luck with those, although I wouldn't use them to build an entire reporting system.
0
 
LVL 6

Author Comment

by:QBalance_QuickBooks_Advisor
ID: 33514919
Thanks everyone for your help
Bart, we did start with a pass through Query and that was just too much info.
Jeff, that worked. Thanks again
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33515278
;-)
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

691 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