E
Ernie
I have an access 2k project which extracts selected
information from a 3rd party system using odbc. The whole
reason for this project is to avoid paying the 3rd party
developers mucho moola to code the needed reports directly.
What I need to do is get this project to automatically
update the 6 tables by running a series of 17 queries.
Normally, you would use the odbc link manager to gain
access to the live tables and select the data that you
need. The problem is that this odbc link is so clunky that
it literally can take days to run a complex query on just
two of the tables in the 3rd party db. That is not an
option here.
What I've done for manual updates is use File / Get
External Data / Import to copy each of the files that I
need into a temporary database. Then run make-table
queries to pare down these huge tables to just the subset
of data that I need and write those tables into my access
project database. Doing this manually takes about 3 hours
and only gets me the base tables, not the finished work
that I need for the project.
Once I have the base tables, I start running the series of
17 queries to finish off the 6 tables on which the project
is based. Since I've already pared down the original
tables to the subset of data that I need, it only takes
another half hour to do the finish work.
There are no changes made to the data, it's just a matter
of selecting information from several tables, in 1:1, 1:N,
and N:N relationships and formatting it to fit on my forms
and reports.
Now what I would really like to do is set up macros or
modules or something that can be run automatically once
week or 2-3 times per month to update these tables for me.
I have no clue how to make or use a macro and the help
files on macros in access are no help to me.
Could someone grab my nose ring and lead me through this
step by step please?? Or at least rent me a clue on where
to start.
Thanks in advance,
Ernie
information from a 3rd party system using odbc. The whole
reason for this project is to avoid paying the 3rd party
developers mucho moola to code the needed reports directly.
What I need to do is get this project to automatically
update the 6 tables by running a series of 17 queries.
Normally, you would use the odbc link manager to gain
access to the live tables and select the data that you
need. The problem is that this odbc link is so clunky that
it literally can take days to run a complex query on just
two of the tables in the 3rd party db. That is not an
option here.
What I've done for manual updates is use File / Get
External Data / Import to copy each of the files that I
need into a temporary database. Then run make-table
queries to pare down these huge tables to just the subset
of data that I need and write those tables into my access
project database. Doing this manually takes about 3 hours
and only gets me the base tables, not the finished work
that I need for the project.
Once I have the base tables, I start running the series of
17 queries to finish off the 6 tables on which the project
is based. Since I've already pared down the original
tables to the subset of data that I need, it only takes
another half hour to do the finish work.
There are no changes made to the data, it's just a matter
of selecting information from several tables, in 1:1, 1:N,
and N:N relationships and formatting it to fit on my forms
and reports.
Now what I would really like to do is set up macros or
modules or something that can be run automatically once
week or 2-3 times per month to update these tables for me.
I have no clue how to make or use a macro and the help
files on macros in access are no help to me.
Could someone grab my nose ring and lead me through this
step by step please?? Or at least rent me a clue on where
to start.
Thanks in advance,
Ernie