Results 1 to 3 of 3
  1. #1
    lugnutmonkey is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jan 2013
    Posts
    42

    Report Referenced Query

    I have a report that displays call volume year over year broken down by months. I would like to have the ability to click on a month within the report and then have a month over month report open up with the month that was clicked(I already have the report made up for month over month calculations).



    My question is can I have the query behind the Month report use the month clicked in the Year report as a criteria. I currently have the criteria set to a form using the criteria of
    Code:
     Where (((Departments.[Department Name])=[Forms]![PC_GUI]![Dept])
    Is there a similar method for referencing a clicked field in a report?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    It should be simple to test this. Possibly the report has to be in Report view not Print view.
    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
    lugnutmonkey is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jan 2013
    Posts
    42
    I don't think I can have the query reference a click on the text box as an entered parameter, if that makes any sense. I have decided that double clicking a month will bring you to a form that has a text box populated with the months. you would then select a month and click a next button to bring you to the appropriate report.

    I have a one question now, I will populate the form with both the name of the month and a numerical value that reflects the order of the month based on the fiscal year. How would i go about making both the "Month" and "Month ID" appear in the text box?

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

Similar Threads

  1. Replies: 1
    Last Post: 08-19-2012, 09:55 PM
  2. Replies: 1
    Last Post: 06-27-2012, 09:16 AM
  3. Replies: 11
    Last Post: 06-13-2012, 08:14 AM
  4. Replies: 8
    Last Post: 06-05-2012, 11:49 AM
  5. Replies: 2
    Last Post: 04-15-2011, 01:13 PM

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