?
Solved

Filtering from Microsoft Acccess

Posted on 2009-07-16
6
Medium Priority
?
193 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
[X]
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
  • 3
  • 3
6 Comments
 
LVL 46

Accepted Solution

by:
tbsgadi earned 2000 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

770 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