Results 1 to 4 of 4
  1. #1
    Denlkap is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Location
    Maryland
    Posts
    8

    Use a form to set parameters for a report then run the report

    I am a novice trying to learn Access. I have a database that includes, among other things, family name, what they donated, and when they donated it. I want to make a form where I can input family name and year of donation and then run a report showing what they donated that year. I have a query that will give me the correct information. I need help with the form and linking it to a report. Any help will be greatly appreciated.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,822
    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
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Open the report from a command button on the form and set a condition in the Where portion of the open command.
    FamilyName=Forms!Formname!fieldname AND DonationYear=Forms!Formname!fieldname
    This will apply a filter to the report.

  4. #4
    Denlkap is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Location
    Maryland
    Posts
    8

    Thank you

    Quote Originally Posted by aytee111 View Post
    Open the report from a command button on the form and set a condition in the Where portion of the open command.
    FamilyName=Forms!Formname!fieldname AND DonationYear=Forms!Formname!fieldname
    This will apply a filter to the report.

    Thank you. Worked like a charm.

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

Similar Threads

  1. Replies: 10
    Last Post: 02-14-2015, 10:41 AM
  2. Replies: 13
    Last Post: 02-04-2015, 09:42 PM
  3. Replies: 1
    Last Post: 03-07-2012, 09:00 AM
  4. Form to supply parameters to a report
    By Ray67 in forum Reports
    Replies: 11
    Last Post: 07-22-2011, 02:06 PM
  5. Report parameters
    By saylindara in forum Reports
    Replies: 15
    Last Post: 08-02-2009, 03:49 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