Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Multiple Queries in One
Leo Rivera 
   
6 months ago
Need help. I have 6 diferent queries which each one has a total numbers for an statistics that my boss required. In what way can i put all together in a report or form?
Alex Hedley  @Reply  
            
6 months ago
Leo Rivera OP  @Reply  
   
6 months ago
Expand please!
Alex Hedley  @Reply  
            
6 months ago
D L  O   O    K     U      P
Alex Hedley  @Reply  
            
6 months ago
Do your Queries produce a single number each?
Richard Rost  @Reply  
          
6 months ago
Let's see screenshots of what your queries look like. You could use Dlookup, like Alex said, or you could use subreports. There's lots of different ways to do it.
Leo Rivera OP  @Reply  
   
6 months ago
Alex Yes singel number!
Leo Rivera OP  @Reply  
   
6 months ago
Richard Refer to the image each one of the queries is asking a date period.
Leo Rivera OP  @Reply  
   
6 months ago

Leo Rivera OP  @Reply  
   
6 months ago
Leo What I want to do is create a report or dashboard where appear all these queries in one place!
Alex Hedley  @Reply  
            
6 months ago
So you can use multiple DLookups to get each one of those
Put them on a Form
Then reference the Form controls on the Report
Leo Rivera OP  @Reply  
   
6 months ago
Can you refer to me what course I have to see to get an idea?
Donald Blackwell  @Reply  
       
6 months ago
Dashboards

This TechHelp Video might give you some ideas of how to put the DLooikups Alex suggested to use
Leo Rivera OP  @Reply  
   
6 months ago
Donald After I watch the DLOOKUP video i do not believe this can help me to do what I want to do.
Kevin Robertson  @Reply  
          
6 months ago
Leo Please explain in detail what you are trying to accomplish so we can advise you better.
Richard Rost  @Reply  
          
6 months ago
I would use a DLOOKUP for the queries that return a single value and a SUBFORM or a SUBREPORT for those queries that return multiple items.
Leo Rivera OP  @Reply  
   
6 months ago
Richard Richard hi, The Subform works for my expectative however every time I open the dashboard all the queries ask me for the period of time.  Is there an option where I can enter the period once and notify to all queries that this initial entry affect to all queries?
Richard Rost  @Reply  
          
6 months ago
You need to put the fields on a form for your start and end dates, and then tell the queries to look at that form. See this video: FormName
Leo Rivera OP  @Reply  
   
6 months ago
I created an introductory form where the user will input information about dateFrom and dateTo.  Then i went to the Query and edited the Between filter however I stated to have an error "Invalid bracketing of name [Forms! StatsMain! dateFrom!]" My Between filter says: Between [Forms! StatsMain! dateFrom!] And [Forms! StatsMain! dateTo!]!

What I missing?
Kevin Robertson  @Reply  
          
6 months ago
[Forms]![StatsMain]![dateFrom]
Leo Rivera OP  @Reply  
   
6 months ago
Thank you now no error occurs however query return with no result.  I am using this in a Between And Function see the criteria: Between [Forms]![StatsMain]![dateFrom] And [Forms]![StatsMain]![dateTo]
What I am doing wrong?
Leo Rivera OP  @Reply  
   
6 months ago
Never mind i found the correct criteria should be: Between [Forms]![StatsMain]![dateFrom]
And DateAdd("d", 1 [Forms]![StatsMain]![dateTo]); What i missed is DateADD("d", 1 befor the the second part of the criteria

Leo Rivera OP  @Reply  
   
6 months ago
I appreciate the help!!!!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 8/7/2026 11:31:57 PM. PLT: 1s