?
Solved

Make Table Query and Quickbooks ODBC

Posted on 2008-10-29
6
Medium Priority
?
457 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
[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
  • 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 1000 total points
ID: 22844585
After DoCmd.Openquery statement add:

MsgBox ("MakeTablebackLog is complete!")
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

765 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