Results 1 to 5 of 5
  1. #1
    rebfein's Avatar
    rebfein is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2015
    Location
    So Cal
    Posts
    114

    Unhappy Problem with specific query returns

    I've been tasked by my boss to start creating reports for our suppliers re: particular products/

    One supplier supplies many products we use, but I need to create a query for only specific ones in one report. However, when I try to do this, I get the specific products, FROM ALL THE SUPPLIERS we buy from!

    Here is the initial query for one Product and it produces that result fine:
    Click image for larger version. 

Name:	Step 1.png 
Views:	6 
Size:	23.4 KB 
ID:	25358 Click image for larger version. 

Name:	Step 2.png 
Views:	6 
Size:	2.9 KB 
ID:	25359 Click image for larger version. 

Name:	Step 3.png 
Views:	6 
Size:	11.2 KB 
ID:	25360

    But when I try to query for specific products, here's what I enter and what I ended up with:
    Click image for larger version. 

Name:	Step 4.png 
Views:	6 
Size:	9.0 KB 
ID:	25361 Click image for larger version. 

Name:	Step 5.png 
Views:	6 
Size:	132.4 KB 
ID:	25362

    As you can see, it lists the specific parts that begin with IC, QS or QF; but it does NOT list for only one Supplier and it lists all the inactive, obsolete and active ones as well.



    What am I doing wrong?

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    you need to repeat the other two criteria on all three lines

  3. #3
    rebfein's Avatar
    rebfein is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2015
    Location
    So Cal
    Posts
    114
    It worked!

    Thank you, Thank you, Thank you, Thank you!

    Rebecca

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    no problem. If you want to save some typing in the future, put you KGS PN criteria on one line and using OR -

    (Like "*" & [IC] & "*" OR Like "*.......)

  5. #5
    rebfein's Avatar
    rebfein is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2015
    Location
    So Cal
    Posts
    114
    Again, thank you. I appreciate all the help I can get. I'm not good at programming (my logic and computer logic diverge, A LOT), so any assistance is ALWAYS appreciated.

    Rebecca

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

Similar Threads

  1. Replies: 1
    Last Post: 02-23-2016, 08:36 PM
  2. Replies: 5
    Last Post: 12-15-2014, 03:34 AM
  3. Specific Update Query Problem
    By McArthurGDM in forum Queries
    Replies: 6
    Last Post: 10-09-2014, 01:23 PM
  4. Replies: 1
    Last Post: 05-02-2013, 08:04 AM
  5. Replies: 1
    Last Post: 06-15-2012, 05:51 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