Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACCESS 2007 HOW TO DISPLAY TABULAR DATA AND EXPRESSION RESULTS

Status
Not open for further replies.

nerbonne

Technical User
Dec 11, 2006
99
US
Hi,

I'm starting to use Access 2007. I'm pretty good with Excel but Access is new to me. I've figured out how to use a query to display a list of unique date in my table, but what I want to is display a second row that has a count of how many times the unique value occured. I know how to use dcount to get that number, but I don't know how to display the unique value and the result of the dcount expression as well.

Any help is much appreciated.
 


A second ROW? Don't you mean a second COLUMN?
Code:
select [YourDateField], Count(*) as DateCount
From ....

Group By [YourDateField]


Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top