Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Filtering from Microsoft Acccess

Posted on 2009-07-16
6
181 Views
Last Modified: 2013-11-28
I am filtering out using <> "MISCELLANOUS"    in the criteria field I need to add more How do I do this in access?
1. <>"MISCELLANOUS" And "Jill Boski"
2. <>"MISCELLANOUS" And <>"Jill Boski"
3. <>"MISCELLANOUS" <>"Jill Boski"

or do I use the or column
0
Comment
Question by:gotti777
  • 3
  • 3
6 Comments
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
ID: 24869391
Hi gotti777,

As in #2
<>"MISCELLANOUS" And <>"Jill Boski"

Good Luck!

Gary
0
 

Author Comment

by:gotti777
ID: 24869521
Hmmm I try that and Misc seem to fall out but i still get Jill's
SELECT Invoice.WrittenBy AS [INS Rep], [Invoice Line Detail-View].CustomerName AS Customer, Invoice.SONumber AS [Order], [Invoice Line Detail-View].Item, [Invoice Line].DateRequired AS [Required Date], [Invoice Line].DatePromised, Invoice.DateShipped, [DatePromised]-[DateShipped] AS Expr1
FROM ([Invoice Line Detail-View] LEFT JOIN [Invoice Line] ON ([Invoice Line Detail-View].InvoiceNumber = [Invoice Line].InvoiceNumber) AND ([Invoice Line Detail-View].InvoiceLineNumber = [Invoice Line].InvoiceLineNumber)) LEFT JOIN Invoice ON [Invoice Line Detail-View].InvoiceNumber = Invoice.InvoiceNumber
WHERE (((Invoice.WrittenBy)="RIC WETHERBEE") AND (([Invoice Line Detail-View].CustomerName)<>"Dwight Long") AND (([Invoice Line Detail-View].Item)<>"MISCELLANOUS" And ([Invoice Line Detail-View].Item)<>"Jill Boski") AND ((Invoice.DateShipped)>=#1/1/2009# And (Invoice.DateShipped)<=#3/31/2009#) AND ((Invoice.InvoiceType)="SHIP"));

Open in new window

0
 

Author Comment

by:gotti777
ID: 24869541
Never Mind .. I was filitering wrong spot ... stupid me thanks..
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Closing Comment

by:gotti777
ID: 31604232
thanks
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24869572
Might be to do with your joins
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24869591
Glad to help!
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question