Results 1 to 3 of 3
  1. #1
    mrwaldmann is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    1

    Creating a form to get parameters to use in Multiple Reports

    I have several different reports based on queries (basicly the same information output many different ways)
    I want to create a form to gather the parameters and then create a [OK] to execute the report.
    I have created the combo boxes and they work fine. But I cannot get the report to process by selecting
    the [OK] button i have created. I dont want to specify the individual report name on the OK button as
    this same Form that gathers the parameters is going to be be used on number of forms.

    I was able to make this work in the past using Access 2002, but I cannot get it to work in Access 2010.


    Thanks for the help.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    What's the code behind the OK button? I often use a single form for criteria, and I often pass the report to be opened in OpenArgs, so the code behind the button would be:

    DoCmd.OpenReport Me.OpenArgs, ...
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    Did you use macros or VBA for prior code? Both should work for 2010.

    User needs to select the report to run from a list (combo or list box).

    Can't really give specific guidance without code or project to analyse.
    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.

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

Similar Threads

  1. creating reports from query from form field
    By chrisrach3 in forum Reports
    Replies: 3
    Last Post: 11-07-2011, 05:11 PM
  2. Creating reports for table column from form
    By ryanwales in forum Reports
    Replies: 14
    Last Post: 10-13-2011, 12:48 PM
  3. Replies: 5
    Last Post: 07-18-2011, 12:18 PM
  4. Replies: 1
    Last Post: 06-20-2011, 03:56 PM
  5. Creating multiple reports from one Query
    By Mike Cooper in forum Reports
    Replies: 5
    Last Post: 04-24-2006, 05:00 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