Solved

Automation of Access and Quickbooks

Posted on 2011-02-22
4
227 Views
Last Modified: 2012-05-11
We have an Access Database that we have automated with Quickbooks using the QODBC DRIVER.  The users have to process data, and it takes several hours.  It has grown to the point we need it to start at 3AM after the nightly backups run.  Then it will have 4 hours to process before employees arrive so they only have to deal with exceptions.

How can I have it do this:

1) Open Access
2) Open Quickbooks with a specific name and password

I know I can set a timer on the Access main form to start the code, but before the code starts, I need the two apps to open properly.

With the automation, we also use the QODBC driver, which has been a great tool.

Thanks!

0
Comment
Question by:sharpapproach
[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 Comments
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 250 total points
ID: 34950318
You can use windows scheduler to run a bat or vbs file to open your aAccess database.

I don't know anything about quickbooks although I have seen responses to similar question which suggests that you can start the program but not supply any startup parameters.  But you need a response from a knowledgable person for that.
0
 
LVL 84
ID: 34951033
I don't use QODBC (I manipulate QB directly through the SDK), but you should be able to detect when the connection is opened. QODBC is nothing more than a wrapper around the SDK, so there should be logic built into the product to insure that QB is opened before running code. Have you found this to NOT be the case? That is, have you found that the QODBC connection is failing to open properly, and your code is not being run?

As an aside: What in the world are you doing that takes 4 hours to perform in QB :) ? The SDK is slow, but it's not that slow ...
0
 
LVL 9

Accepted Solution

by:
Armen Stein - Microsoft Access MVP since 2006 earned 250 total points
ID: 34965107
We also use the SDK to automate QB, and it's fast enough for small-medium transactions.  We have some experience with QODBC, and we also build custom reports using QReportBuilder.  But you can find lots of stories of performance issues with QODBC.  The recent version 11 touts "Greatly Improved Performance".  Which reminds me of the Domino's Pizza commercials saying "We're good now!".  :)   Are you using QODBC version 11, sharpapproach?  Do you have the option of using the QB SDK for direct automation instead?
0
 

Author Closing Comment

by:sharpapproach
ID: 35315597
Ended up using a Windows Scheduler for the time and the SDK to pass parameters.

Thanks!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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 how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
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…

696 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