Solved

Filtering from Microsoft Acccess

Posted on 2009-07-16
6
187 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 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
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.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

688 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