Bob,
I apologize, I misread your question. I thought you were
using a table structure like:
EventDate
Event
Person
Which would be more normalized.
Something like this might work:
qry_Sub_01:
SELECT datefield, p1 AS Person FROM tablename WHERE p1 is
not null
union all
SELECT datefield, p2 FROM tablename WHERE p2 is not null
union all
SELECT datefield, p3 FROM tablename WHERE p3 is not null
union all
SELECT datefield, p4 FROM tablename WHERE p4 is not null
qry_Main
SELECT datefield, Person, count(DateField) as Times
FROM qry_Sub_01
GROUP BY datefield, Person
I think that would work, but union queries on big tables
can be slow.
Mark
-----Original Message-----
Mark:
Thanks for your help. What I would like to do is somehow
count the number of times each member appears in any one
of the four fields (p1,p2,p3,p4). The crosstab suggestion
works well but only for one of the p1 ... p4 fields as the
crosstab only seems to allow a single column heading.
Maybe I'm missing something.