Results 1 to 5 of 5
  1. #1
    tanyalee123 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2013
    Posts
    51

    Question Report Query criteria with dropboxes instead of text boxes...

    I am creating a whole slew of reports, and many of them have 3-4 criteria that need to be entered to run the report. My reports are, of course, based on queries. Is there a way to have a dropbox for the some of the criteria instead of just a text box that the user types in? Of course, without a dropbox, the user runs the risk of not entering the information correctly and thus the report not running. I would rather provide the correct options.

    Similarly, is there a way that a form can pop up where the user can enter all of the criteria required for the report instead of having message boxes pop up several times. It would just be a cleaner look for those reports that have several criteria. I tried basing a form on the query, and tried basing a form on the report, but both didn't yield me any results; obviously it's not that simple.



    Any help is appreciated!! Thank you!

    Tanya

  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
    53,618
    Yes to all. Options:

    1. dynamic parameterized query references the form controls for input, review: http://datapigtechnologies.com/flash...mtoreport.html

    2. use VBA to construct filter criteria string, review: http://www.allenbrowne.com/ser-62code.html
    instead of applying string to form Filter property, use it in the DoCmd.OpenReport method
    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
    tanyalee123 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2013
    Posts
    51
    Thank you! The video is great, I think I can do it that way.

  4. #4
    tanyalee123 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2013
    Posts
    51
    Where is the solved?

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    Thread Tools dropdown above first post.
    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. Replies: 9
    Last Post: 06-04-2014, 10:45 AM
  2. Replies: 13
    Last Post: 08-08-2013, 04:52 PM
  3. Combo Boxes Query Criteria help
    By noaccessguru in forum Queries
    Replies: 2
    Last Post: 04-30-2012, 08:09 PM
  4. Replies: 8
    Last Post: 08-09-2011, 09:04 AM
  5. Creating Report using Text boxes & db fields
    By Nancy J. in forum Reports
    Replies: 13
    Last Post: 07-20-2009, 07:09 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