InstructionWhich7142
Registered User.
- Local time
- Today, 14:03
- Joined
- Feb 24, 2010
- Messages
- 206
I've got a number of tables which I'm combining into a report by "Part",
However due to the layout of the tables (for example, Stock or Orders - having the same part multiple times in different places) I have to group and sum these with their own Totals query before I can combine them otherwise I get crazy duplication issues (cartesian product style)
I then have to go through a few other steps and pull in some other information and set some criteria on a few levels before I can pull all the queries together (~20 in total, based off ~10 tables) into the final report,
This ends up taking a lot of time (tables are linked ODBC FoxPro tables) - can't import due to 2gb limit.
However if I output a few key queries to tables before I run the next level the time goes down significantly - it seems some queries get re run multiple times along the way
Is there some way to force JET to be a bit cleverer about this without having a load of faff with "make tables"?
However due to the layout of the tables (for example, Stock or Orders - having the same part multiple times in different places) I have to group and sum these with their own Totals query before I can combine them otherwise I get crazy duplication issues (cartesian product style)
I then have to go through a few other steps and pull in some other information and set some criteria on a few levels before I can pull all the queries together (~20 in total, based off ~10 tables) into the final report,
This ends up taking a lot of time (tables are linked ODBC FoxPro tables) - can't import due to 2gb limit.
However if I output a few key queries to tables before I run the next level the time goes down significantly - it seems some queries get re run multiple times along the way
Is there some way to force JET to be a bit cleverer about this without having a load of faff with "make tables"?