Results 1 to 3 of 3
  1. #1
    templeowls is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    305

    Help with excluding multiple entries off combining fields

    Very confusing title...sorry. I've attached a simple example DB to try and better explain what I'm looking to do. I've got a query of customers and each customer has two entries each. The last column is a number field and has either a 0 or a 1. I'm trying to come up with an 'if' function where both entries for a customer are excluded if the item fields for both add up to 1 or more.



    For instance in my example, baker and smith's two entries would remain because they equal zero. Whereas the others would be excluded. Super weird question I know.

    I appreciate any help.

    Thanks
    Attached Files Attached Files

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Something like this maybe (using a subquery) - you could also use a dCount.

    Cheers,
    Vlad
    Attached Files Attached Files
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  3. #3
    templeowls is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    305
    Thank you!!!

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

Similar Threads

  1. Combining Fields from multiple Tables
    By mainerain in forum Programming
    Replies: 4
    Last Post: 10-29-2018, 06:13 AM
  2. Replies: 3
    Last Post: 10-02-2018, 09:30 AM
  3. Replies: 14
    Last Post: 07-22-2013, 12:39 PM
  4. Replies: 3
    Last Post: 08-14-2012, 01:33 PM
  5. Replies: 2
    Last Post: 05-21-2012, 02:06 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