+ Reply to Thread
Results 1 to 3 of 3

Access Query, Based on queries, based on queries

  1. #1
    Registered User
    Join Date
    05-23-2013
    Location
    atlanta, georgia
    MS-Off Ver
    Excel 2003
    Posts
    26

    Access Query, Based on queries, based on queries

    I'm nearly done with the backend dashboard I am working on developing. The problem is I am running into a problem with the last (bottom) level of the the dashboard.

    Gen 5 Database Structure.jpg

    Basically the dashboard looks at a bunch of raw data (close to 4 million rows) and uses other tables to do two things:
    1) convert a nonplottable financial period into a plottable calendar period.
    2) To aggregate at the smallest and next to smallest grain (top level green).

    The results of these two grains are then combined for each window in order to create indices and measure comparative performance (2nd level green).

    I am now working on combining the results of the 2nd level of green blocks in order to create comparisons between time periods in order to look for products that are trending in the wrong direction. However when I try to combine the results of the three queries (2nd level) that comprise this one query (3rd level) Access has a problem. Specifically "The query cannot be completed. Either the size of the query result is larger than the maximum size of a database (2GB), or there is not enough temporary storage space on the disk to store the query result".

    Since I have 104 GB of free memory the latter option is probably not the case. This would mean that Access is saying there is not enough storage space inside the database to store the result. My understand was that queries do not substantially increase the size of the database as I was able to cut hundreds of MB by removing tables and keeping the format in a query.

    So my question is this: "Does access need to have enough memory to store the datasets from all the queries that feed the ultimate 3rd level query"? My database is sitting at 1.5 GB at the moment. When the 2nd level queries were tables instead it was sitting at around 1.85 GB.

    What is the ideal solution to this problem? Is there one?

    Please advise,

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,949

    Re: Access Query, Based on queries, based on queries

    As an aside, during the building of a db, it is important to run a compact and repair on a regular basis. Do this and see if it helps to alleviate some of the file size limitation.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-23-2013
    Location
    atlanta, georgia
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Access Query, Based on queries, based on queries

    I have and it doesnt Any other suggestions? I am thinking i might just pass through the three queries that comprise this query into tables in another file so it doesnt have to do the precalc work.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Run Web queries based on the website address in the column
    By elayaz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-16-2013, 05:10 AM
  2. Replies: 0
    Last Post: 01-21-2013, 12:47 PM
  3. Embedded Access queries in Excel - if the database moves, how to update queries?
    By Paul_mcc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2012, 07:52 PM
  4. CSV files and a web based interface for queries
    By permutation in forum Excel General
    Replies: 0
    Last Post: 07-06-2011, 12:56 AM
  5. Form based on multiple queries
    By TomBP in forum Access Tables & Databases
    Replies: 1
    Last Post: 03-21-2011, 09:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1