Solved

Make Table Query and Quickbooks ODBC

Posted on 2008-10-29
6
451 Views
Last Modified: 2010-04-21
I have a simple Make Table query.  The query comes from a table in Quickbooks that is linked by QODBC, which is Quickbooks version to link in Access.  There is no problems with how Access makes the table.  The issue is that the link in really slow.  Quickbooks acknowledges this problem.  In other words it's a know problem.  Fine.  However the only way that I know when the transfer is complete is by waiting for Access to allow me to use the program again.  In other words it looks like its not responding but really is.  After the transfer is complete I can use Access again.  
So my question is, after the qryMakeTable is complete, is there some kind of notification that Access can give me telling me the query is done?  I know when I'm on vacation someday, the person running this query is going to think there's a problem but there really is not.

Thanks in Advance

net
0
Comment
  • 4
  • 2
6 Comments
 
LVL 18

Expert Comment

by:jmoss111
ID: 22837021
Hello netcepter,

How  is the query called?

Regards,

Jim
0
 
LVL 4
ID: 22841169
Heres what I have.  A simple query called by a command button.  Also to note it's not a passthrough query because it seems to take just as long.

Command Button is:
Private Sub cmdMakeTableLocal_Click()
On Error GoTo Err_cmdMakeTableLocal_Click

    Dim stDocName As String

    stDocName = "qryMakeTableBacklog"
    DoCmd.OpenQuery stDocName, acNormal, acEdit

Exit_cmdMakeTableLocal_Click:
    Exit Sub

Err_cmdMakeTableLocal_Click:
    MsgBox Err.Description
    Resume Exit_cmdMakeTableLocal_Click
   
End Sub

The  Make Table query is:
SELECT qryFullBackLog.* INTO tblBacklogAll
FROM qryFullBackLog;

The qryFullBackLog is basically a combination of linked tables in QuickBooks.

net
0
 
LVL 18

Accepted Solution

by:
jmoss111 earned 250 total points
ID: 22844585
After DoCmd.Openquery statement add:

MsgBox ("MakeTablebackLog is complete!")
0
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.

 
LVL 18

Expert Comment

by:jmoss111
ID: 22844719
Or you could use:

Dim feedback_msg As String


feedback_msg = "Make table started " & Now()
SysCmd acSysCmdSetStatus, feedback_msg

DoCmd.OpenQuery stDocName, acNormal, acEdit

feedback_msg = "MakeTablebackLog is complete" & Now()
SysCmd acSysCmdSetStatus, feedback_msg
0
 
LVL 4

Author Closing Comment

by:get-ADuser -F ($_.Name -eq "Todd")
ID: 31511474
Thank you it worked!
0
 
LVL 18

Expert Comment

by:jmoss111
ID: 22945074
you're welcome. have a great day.

Jim
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now