count query

L

Lori

I need to write a query that counts number of unique occurences of a
combination of 3 fields in the same table (Inventory): PC Brand, Operating
System, and Speed. How do I write this? I know how to write a count query
for one piece of data - I don't know how to do it for a combination of 3
fields. I am using Access 2000. Thanks!
 
M

Mirek

You can make it by using a combination of those fields in a query:
Combination: [PC Brand]+[Operating System]+CStr([Speed])
Use function CStr for numbers. Then set in query properties Unique values =
yes
Don't use Count function, only show number of records in a select query.

By, Mirek.
 
L

Lori

Hi,

Can you tell me more specifically what the syntax is? How do I get to the
query properties? The query properties that I found only tell me when the
query was made. Thanks!

Mirek said:
You can make it by using a combination of those fields in a query:
Combination: [PC Brand]+[Operating System]+CStr([Speed])
Use function CStr for numbers. Then set in query properties Unique values =
yes
Don't use Count function, only show number of records in a select query.

By, Mirek.

Lori said:
I need to write a query that counts number of unique occurences of a
combination of 3 fields in the same table (Inventory): PC Brand, Operating
System, and Speed. How do I write this? I know how to write a count query
for one piece of data - I don't know how to do it for a combination of 3
fields. I am using Access 2000. Thanks!
 
L

Lori

Please disregard my previous post - I found the properties you referred to
and it works! Thanks a lot!

Mirek said:
You can make it by using a combination of those fields in a query:
Combination: [PC Brand]+[Operating System]+CStr([Speed])
Use function CStr for numbers. Then set in query properties Unique values =
yes
Don't use Count function, only show number of records in a select query.

By, Mirek.

Lori said:
I need to write a query that counts number of unique occurences of a
combination of 3 fields in the same table (Inventory): PC Brand, Operating
System, and Speed. How do I write this? I know how to write a count query
for one piece of data - I don't know how to do it for a combination of 3
fields. I am using Access 2000. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top