Automate QODBC Table to Access Table Import
Posted on 2013-01-31
I run reports against a QuickBooks database using a 3rd party ODBC tool called QODBC.
This works fine, but can be slow when doing involved reports.
If I use the QODBC to import into an access database, copying just the tables I need, the solution is very fast.
The problem is, I have to do the ODBC to Access import manually. And since the Access Database isn't being udpated, the moment it's created it's outdated. That's fine for the reports we generate, but it would be ideal if the Database was updated once per day, like at 2am or so.
Is there a way in VB.NET to copy a QODBC table to an Access database - if the Table already exists, to erase it and replace it with the new data?
I'm looking for some examples of this - As an example, some reports take 15 minutes to run simply using QODBC. After importing the data in Access, the report runs in 30 seconds. This could be an awesome solution if I can get the import automated.