Solved

Filtering from Microsoft Acccess

Posted on 2009-07-16
6
177 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
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 …

773 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