Caporegime
- Joined
- 13 May 2003
- Posts
- 34,562
- Location
- Warwickshire
Calling anyone that queries external data via MS Access! Bit of a long shot...
I have a query in Access that looks at our accounting program and retrieves a work in progress valuation. I have also created a report based on that query. I am now trying to link the query to Excel so that I don't have to keep manually exporting it whenever I run it.
I have another query set up in a very similar way, with two tables linked, which has no problems pulling the data into Excel. Both queries produce about 8000 lines.
I have two issues:
- The report itself in Access produces data fine and takes about five minutes to run. When however I run the query on which the report is based, which should give me exactly the same information as the report, it never completes and just hangs Access.
- When I link the Access query to Excel, it takes five minutes to finish just like the report, but then produces zero information, only the query fields as the headings, like this:
This makes me think something is wrong with my query...

...yet the report works fine.
Any ideas anyone? Many thanks.
I have a query in Access that looks at our accounting program and retrieves a work in progress valuation. I have also created a report based on that query. I am now trying to link the query to Excel so that I don't have to keep manually exporting it whenever I run it.
I have another query set up in a very similar way, with two tables linked, which has no problems pulling the data into Excel. Both queries produce about 8000 lines.
I have two issues:
- The report itself in Access produces data fine and takes about five minutes to run. When however I run the query on which the report is based, which should give me exactly the same information as the report, it never completes and just hangs Access.
- When I link the Access query to Excel, it takes five minutes to finish just like the report, but then produces zero information, only the query fields as the headings, like this:

This makes me think something is wrong with my query...

...yet the report works fine.
Any ideas anyone? Many thanks.