Results 1 to 3 of 3
  1. #1
    soma is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1

    Working With Huge Databases?


    I'm working with a 1gb database and have about 20 queries that analyze and summarize the database in different ways. I tried running a query that runs all 20 of these queries, but it's just too much to process.

    Is there a way to, maybe, write a macro that runs each query, and stores the result from each query? Any ideas on how to automate the running of these queries, and store the results?

  2. #2
    MAF4Fam6's Avatar
    MAF4Fam6 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Dec 2009
    Location
    Fruit Heights, Utah USA
    Posts
    140
    Assuming ALL your 20 queries contain the same output fields:
    1. Create a new table to store the results of each query
    2. Change your query types from Select Queries to Append Queries (appends the resulting records to the new table).
    3. Create a Macro and use the OpenQuery Action to run each Query.

    -RC

  3. #3
    Join Date
    Feb 2010
    Location
    London, UK
    Posts
    21
    You would need to change the query to become make table queries. It would then make a new table with your query results stored.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Switching between multiple databases
    By developer11 in forum Access
    Replies: 2
    Last Post: 11-16-2020, 05:56 AM
  2. Transfering Databases
    By GMatos78 in forum Access
    Replies: 3
    Last Post: 01-13-2010, 12:15 PM
  3. VBA SQL Query of Multiple Databases
    By VBA_Rookie in forum Programming
    Replies: 0
    Last Post: 12-02-2008, 12:32 PM
  4. Converting Access Databases
    By awpic1964 in forum Import/Export Data
    Replies: 1
    Last Post: 08-04-2008, 06:54 AM
  5. Combining Databases
    By RHall in forum Access
    Replies: 2
    Last Post: 04-13-2006, 07:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums