D
DJMILLLS
I am working on a front end in AccessXP for a SQL2005 DB. The main
purpose of the Access piece is to produce reports for sales, pricing
and inventory managment. The reports we get from the software vendor
are ugly, hard to read, and I need the flexibility of writing my own
reports, which I can do in Access. I have limited VBA knowledge,
virtually no SQL knowledge, but I have been working off and on in
Access for 8 years.
For the reports I need I have had to create additional tables, and so
far I have done this in Access and joined them to ODBC linked SQL
tables in the Access relationships window. The tables are not large
and are there to provide information that is not stored in the SQL
based program. Everythig was going great until some of the queries
and the reports based on those queries, started to run very slowly
(90-120 seconds to run). The worst query is one in which I have a
crosstab query (which runs OK by itself) with two fields(one each)
linked to two of my "homemade" tables.
Here are the questions:
1) Would I be better off: a) creating the "homemade" tables and
relationships in the SQL DB, b) spltting the Access tables, or c)
leaving it as is
2) Can any of this be helped via pass-through queries?, if so, how do
you do a pass-through in SQL
3) Do I need to dupicate the SQL relationships of the linked tables in
the Access relationships window?
purpose of the Access piece is to produce reports for sales, pricing
and inventory managment. The reports we get from the software vendor
are ugly, hard to read, and I need the flexibility of writing my own
reports, which I can do in Access. I have limited VBA knowledge,
virtually no SQL knowledge, but I have been working off and on in
Access for 8 years.
For the reports I need I have had to create additional tables, and so
far I have done this in Access and joined them to ODBC linked SQL
tables in the Access relationships window. The tables are not large
and are there to provide information that is not stored in the SQL
based program. Everythig was going great until some of the queries
and the reports based on those queries, started to run very slowly
(90-120 seconds to run). The worst query is one in which I have a
crosstab query (which runs OK by itself) with two fields(one each)
linked to two of my "homemade" tables.
Here are the questions:
1) Would I be better off: a) creating the "homemade" tables and
relationships in the SQL DB, b) spltting the Access tables, or c)
leaving it as is
2) Can any of this be helped via pass-through queries?, if so, how do
you do a pass-through in SQL
3) Do I need to dupicate the SQL relationships of the linked tables in
the Access relationships window?