how do I

J

joe

Hello.

I need help. I have a table in Access that has only two
columns - usernumber and date. I need to write a report so
that I can count total for each user per day. I've look in
my access book and online help, but didn't get very far.
Not sure if I have to use VBA to do this or some other
method. Any help would be appreciated.

Thanks
 
R

Rick Brandt

joe said:
Hello.

I need help. I have a table in Access that has only two
columns - usernumber and date. I need to write a report so
that I can count total for each user per day. I've look in
my access book and online help, but didn't get very far.
Not sure if I have to use VBA to do this or some other
method. Any help would be appreciated.

Create a new query. In the query design grid add your table and bring both
fields down. In the main menu turn on View - Totals. Leave the date field
as GroupBy but change the [usernumber] setting to Count.

If your date field does NOT include time, then your done. Just base a
report on this query. If it does then change the field for the date field
to DateValue([yourfieldname]). That will strip the time component off of
the date.
 

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