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 / New Users / August 2006

Tip: Looking for answers? Try searching our database.

How to use range categories in an access query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nekodvoru - 01 Aug 2006 19:33 GMT
HOw could I break down column of values into categories base on preset ranges
of these values and disply the correspning to these ranges categories
For example

<25,000                        category I

25000< but <50000        category II

50000< but <250000       category III

Thank you
Eugene
NY
Klatuu - 01 Aug 2006 21:20 GMT
If what you are asking is how to have columns for each category, create 3
calculated fields in your query, one for each query.

Cat1: IIf([SomeField] < 25000, [SomeField], Null)

Cat2:  IIf([SomeField] > 25000 And [SomeField] < 50000, [SomeField], Null)

Cat3: IIf([SomeField] > 50000 And [SomeField] < 250000, [SomeField], Null)

> HOw could I break down column of values into categories base on preset ranges
> of these values and disply the correspning to these ranges categories
[quoted text clipped - 9 lines]
> Eugene
> NY
 
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.