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
Solved

Make Table Query and Quickbooks ODBC

Posted on 2008-10-29
6
453 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

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 tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

839 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