Results 1 to 3 of 3
  1. #1
    rjv888 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Posts
    6

    Multiple Criteria for Sum Query

    Hello Gurus of Access,



    I am fairly new to access, so please be patient. I am, however, familiar with VBA and excel if that helps.

    In my file, "BernhardMechanical", there is a table titled "Raw Data". And if you couldn't guess, it contains raw data imported from some other software. I am trying to sum the values of the "Quantity" field, but only after it has been filtered by a desired "Job" field, "System" field, and "Item Type" field. The "Item Type" I am interested in particular is "Pipe".

    Ideally, I would like to choose what Job and System I desire before the query or other method is run. I tried using parameters, but I am forced to type in my parameter exactly as it appears in the table or risk failure (vs. selecting from a list which would be more ideal).

    I am open to suggestions for restructuring anything, and thank you for your time and effort.

    Thanks,
    Raul


    BernhardMechanical.zip

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Use unbound controls on a form to input parameters.

    I don't use dynamic parameter queries but here is example anyway: http://www.datapigtechnologies.com/f...earchform.html

    I prefer to use VBA and pass parameters to form or report: http://www.allenbrowne.com/ser-62code.html
    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
    rjv888 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Posts
    6
    Thank you, I am testing the methods now.

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

Similar Threads

  1. Replies: 2
    Last Post: 04-10-2013, 03:54 PM
  2. Replies: 7
    Last Post: 01-02-2013, 11:23 PM
  3. Multiple criteria query
    By jwb257 in forum Queries
    Replies: 6
    Last Post: 10-21-2011, 02:29 PM
  4. Replies: 1
    Last Post: 07-13-2011, 11:00 AM
  5. Multiple criteria query
    By DJ-Specter in forum Queries
    Replies: 1
    Last Post: 09-23-2009, 04:47 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