Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6070147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:54:01+00:00 2026-05-23T09:54:01+00:00

I have about 35 queries in a large MS Access (2007) database that I

  • 0

I have about 35 queries in a large MS Access (2007) database that I would like to use in a report. However, I don’t want to create reports for each query, but would rather include multiple queries in one report. The other questions relating to this on SO seem to be related to tables, but I am mainly concerned with just queries.

I have looked at several solutions so far, none of which seem to help:

1) DLookup – returns one value. I need to populate a report with many values from each query.

2) Subreports – I have tried to create text boxes to link my query data, but since they are unbound, it won’t let me.

3) Yelling at it. I keep yelling at Access and it doesn’t seem to help.

4) One giant query to get the values from all the smaller queries – it doesn’t recognize the expressions I built in the smaller queries. Example: CustomerCount = DCount(“[Customer_ID]”,”[Customers]”). Error: ‘CustomerCount’ is unrecognized.

Any ideas would be greatly appreciated.

Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:54:02+00:00Added an answer on May 23, 2026 at 9:54 am

    If you are creating a report from one query that is made up of multiple subqueries, you can do this by populating textboxes. If looking at the properties on the report > Data tab > Control Source, you would place the name of the your subquery from your giant query and then the value you that you want.

    For example:

    Master query
    
        SELECT 
            [Deb<30].CountOfACCT_ID, [Deb<30].SumOfB001, 
            [Deb<60].CountOfACCT_ID, [Deb<60].SumOfB001, 
            [Deb<90].CountOfACCT_ID, [Deb<90].SumOfB001, 
            [Deb>90].CountOfACCT_ID, [Deb>90].SumOfB001, 
            TodaysHD.CountOfACCT_ID, TodaysHD.SumOfB001, 
            TodaysLD.CountOfACCT_ID, TodaysLD.SumOfB001, 
            Part.CountOfACCT_ID, Part.SumOfB001, 
        FROM [Deb<30], [Deb<60], [Deb<90], [Deb>90], TodaysHD, TodaysLD, Part;
    

    Each of the items in the FROM portion are subqueries being pulled into the master query. Then in your report you would populate the Control Source with [Deb<30].CountOfACCT_ID or whatever value you need from the master query. I have this setup in multiple reports in my application so it should work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large quantity of data in a production database that I want
I have a series of queries against a very mega large database, and I
I have a very large database (~100Gb) primarily consisting of two tables I want
I have a sequence of sql queries that result in very large datasets that
How should I go about optimizing application level sql queries, we have a large
I have some questions about using MySQLi queries, and related memory management. Suppose I
I have about 150 000 rows of data written to a database everyday. These
I have about 200 Excel files that are in standard Excel 2003 format. I
I have about 10million values that I need to put in some type of
I have about 50 images of 50 x 50 pixel size each. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.