Results 1 to 3 of 3
  1. #1
    crmackenzie is offline Novice
    Windows 11 Access 2016
    Join Date
    May 2023
    Posts
    1

    Question Form entered criteria used to create multiple queries resulting in 1 report

    Click image for larger version. 

Name:	Queries used to make a Single Report.PNG 
Views:	17 
Size:	16.6 KB 
ID:	50284
    Via a form, I want enter a value to pass into the criteria of multiple queries so that I can run the same queries/reports for multiple seasons/years (2022, 2023, ...)



    Click image for larger version. 

Name:	Single Report based on multiple queries.PNG 
Views:	17 
Size:	169.8 KB 
ID:	50285



    I would also like to put the value passed (2022, 2023,...) into the header of the report.

    I would like to be able to do this for each report, 1A, 1B, 1C, etc. individually or a button that will run ALL reports.

    Many thanks in advance!
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Textbox on report can reference control on form.

    Not sure you really need multiple queries. Report Sorting & Grouping features might produce the same result.

    Suggest you provide db for analysis. Follow instructions at bottom of my post.

    Advise not to use spaces nor punctuation/special characters in naming convention.
    Last edited by June7; 05-28-2023 at 08:45 AM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,861
    BTW Womem is spelt incorrectly.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

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

Similar Threads

  1. Replies: 1
    Last Post: 03-08-2018, 08:48 AM
  2. Replies: 2
    Last Post: 10-08-2016, 10:06 PM
  3. Replies: 17
    Last Post: 08-09-2015, 09:45 AM
  4. Queries with multiple tables to create report
    By Solstice in forum Queries
    Replies: 1
    Last Post: 09-22-2011, 02:23 PM
  5. Replies: 0
    Last Post: 02-28-2011, 09:46 AM

Tags for this Thread

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