Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / July 2006

Tip: Looking for answers? Try searching our database.

help with criteria

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mhmaid - 20 Jul 2006 08:21 GMT
i have one qry"Expense reports" where there is one field "expense category"
which is txt field.
i want to filter this qry by putting criteria.
one of the exp categories is "allowance" .i want to filter like this

if expense category is "allowance" then , for this category , show only
amounts less than 200 (there is one field for amount "amount")

help if this is possible?
John Spencer - 20 Jul 2006 13:03 GMT
WHERE ([Expense Category] = "Allowance" and Amount < 200) OR [Expense
Category] <> "Allowance"

If you are doing this in the query grid use two lines of criteria
Criteria line 1:  under Expense Category enter    <> "Allowance"
Criteria line 2: under Expense Category enter "Allowance"  under Amount
enter   <200

>i have one qry"Expense reports" where there is one field "expense category"
> which is txt field.
[quoted text clipped - 5 lines]
>
> help if this is possible?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.