Counting.. (1 Viewer)

John Bull

Registered User.
Local time
Today, 21:30
Joined
Sep 10, 2000
Messages
12
How can I produce a report that counts the number of times particular variables appear in a field.

The field is called "Types" and I have set it so that each record can take on 1 of the following three values:
"C/N & INV"
"IN & OUT"
"C/N"

regards
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 16:30
Joined
Feb 19, 2002
Messages
43,371
Select Types, Count(*) AS CountOfTypes
From YourTable
Group by Types;
 

Users who are viewing this thread

Top Bottom