Hello All,
I am somewhat new to access and struggling with some issues at the moment. Specifically I am attempting to join a large number of tables in a query. After I make the necessary joins the query is running extremely slow to the point it puts my computer in a non-responsive mode and I cannot view the data in "data sheet view".
To describe the database, I have a master table "SampleDates" that has 12,000 records with several fields. The two main fields I am attempting to use for joins (and that are common across all of the other other tables) are "ClimateID" and "Dates". The other tables are weather elements from 1 through to 27. Each weather table is named "element1", "element2" "element3" etc. and have approximately 120,000 records each. Each element table contains differing dates and climateID's and slightly different numbers of records. So basically, in the query I am attempting to draw out all the weather data from each element table that matches the dates and climate ID's in the master table "SampleDates". As I say when I create the joins this bogs down my computer. The steps I have take to remedy this are:
- compact and repair
- increasing my virtual space on my computer
- adding a primary key, which is an autonumbered ID field, to each table
- creating relationships between the SampleDates table and all of the elements. However due to the nature of my data
(i.e. climateID and dates have duplicate data unless used with some of the other fields in both element tables and SampleDate table) I can't enforce referential integrity so have only used right outer joins...27 joins from the SampleDate table to elements tables for both climateID and date.
- created indexes for the appropriate fields in each table
However, none of this is speeding up my query by any means. Any other suggestions??