Solved

Make Table Query and Quickbooks ODBC

Posted on 2008-10-29
6
455 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access, How to create variable 9 38
Access Query: Text to Date 10 32
Access - Question on concatenation of field values 3 31
Using a combo box ListItemsEditForm property 5 42
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
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…

749 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