A
aireq
I'm currently working on my first relational database project in Access 2007.
Unfortunately it is far from a "typical" database project, so it is rather
challenging.
We are using a software application, Autodesk Revit, that can export project
information to a database through ODBC. We then want to process this
information to parse out various codes, as well as filter and union various
tables. Finally we want to take this "processed" information and display it
on reports using different filters and grouping. This is not a typical
beginning database project because I have no control over the tables that are
being exported through ODBC. So everything that I am doing is through a ton
of nested queries.
In addition, we want to be able to use this tool on more than one project so
I do not want to have any file paths or project names hardcoded into the
database. Plus we want to make it easy to point this tool at an entirely
different project file to generate new reports. I'm trying to make it as
generic as possible so it can easily be applied to another project.
The biggest problem I've having is the logic to process the tables exported
through ODBC is just too complex for Access and if I try to put everything in
one ACCDB file I start getting errors saying I can't connect to anymore
databases, or access has run out of resources.
So to fix this I've split the project up into three separate databases.
First I have an "export" database that contains only the tables exported
through ODBC. Then I have a "processing" database that links to a few tables
in the "export" database, and processes these into four "master" queries
through a bunch of nested queries. These "master" queries are then exported
to tables in a "reporting" database through a VBA script that essentially
runs a series of Make Table queries. The reporting database then groups and
filters the content of these tables through more queries which eventually
generate reports.
I have this whole thing working now, but it is a very convoluted process to
go from updating something in our project to viewing an updated report. To
view an updated report here's what needs to be done
1) Make change to the project file.
2) Export to "export" database through ODBC
3) Open the processing database
4) Update the tables linked to the "export" database through the linked
table manager
5) Export the master queries to the reporting database through a form where
the user can enter the path to the "reporting “database
6) Open the reporting database.
7) Open the report to be viewed.
I would like any suggestions on how I could possibly consolidate this
project into one or two MDB files, or automate the current update process
described above. Any other suggestions on how I can improve any of this would
be greatly appreciated.
Eric
Unfortunately it is far from a "typical" database project, so it is rather
challenging.
We are using a software application, Autodesk Revit, that can export project
information to a database through ODBC. We then want to process this
information to parse out various codes, as well as filter and union various
tables. Finally we want to take this "processed" information and display it
on reports using different filters and grouping. This is not a typical
beginning database project because I have no control over the tables that are
being exported through ODBC. So everything that I am doing is through a ton
of nested queries.
In addition, we want to be able to use this tool on more than one project so
I do not want to have any file paths or project names hardcoded into the
database. Plus we want to make it easy to point this tool at an entirely
different project file to generate new reports. I'm trying to make it as
generic as possible so it can easily be applied to another project.
The biggest problem I've having is the logic to process the tables exported
through ODBC is just too complex for Access and if I try to put everything in
one ACCDB file I start getting errors saying I can't connect to anymore
databases, or access has run out of resources.
So to fix this I've split the project up into three separate databases.
First I have an "export" database that contains only the tables exported
through ODBC. Then I have a "processing" database that links to a few tables
in the "export" database, and processes these into four "master" queries
through a bunch of nested queries. These "master" queries are then exported
to tables in a "reporting" database through a VBA script that essentially
runs a series of Make Table queries. The reporting database then groups and
filters the content of these tables through more queries which eventually
generate reports.
I have this whole thing working now, but it is a very convoluted process to
go from updating something in our project to viewing an updated report. To
view an updated report here's what needs to be done
1) Make change to the project file.
2) Export to "export" database through ODBC
3) Open the processing database
4) Update the tables linked to the "export" database through the linked
table manager
5) Export the master queries to the reporting database through a form where
the user can enter the path to the "reporting “database
6) Open the reporting database.
7) Open the report to be viewed.
I would like any suggestions on how I could possibly consolidate this
project into one or two MDB files, or automate the current update process
described above. Any other suggestions on how I can improve any of this would
be greatly appreciated.
Eric