Sorry, I'm sure this will be an easy answer, but I just couldn't find what I was looking for in google searches.
Anyway, What I want to do is create a query that will total how many occurrences of a particular record there are. To give you an example, I have a table called "software". In that table are:
DEVICENAME, OFFICE VERSION, OFFICE LICENSE
PCXP-101 | Office 2007 | Retail
PCXP-102 | Office 2010 | Volume
I want a query to tell me how many PC's are using a "Retail" license. I'm no master at access but I know a few SQL commands, So I came up with this:
SELECT COUNT([OFFICE LICENSE]) AS retail FROM Software WHERE [OFFICE LICENSE]='RETAIL';
That works, but if I add this to the same query:
SELECT COUNT([OFFICE LICENSE]) AS volume FROM Software WHERE [OFFICE LICENSE]='VOLUME';
It returns an error. Now I have a seperate query for every different value in that field and had to create a query to total all the other queries. I know access has to have some easy way to do this, I just can't figure this out. Thank you very much, any help is appreciated.