example:
>start of report
number of single users: 34
number of married users: 55
>end of report
I'm still learning Access as I go so please try to take my lack of
knowledge into account when replying.
Thank you.
Rudi
on the menu bar, click View | Datasheet View. you should see two columns:
the first one lists the marital statuses, with a column name of
Marital_status; the second one lists a count of each marital status, with a
column name of CountOfUser_ID.
save and close this query, and use it to build your report. you can quickly
build a basic report by clicking on the Reports tab in the database window,
and clicking New. then use one of the wizards in the dialog box to create a
report.
hth
"Rudi" <rudi....@gmail.com> wrote in message
news:1154304754.3...@p79g2000cwp.googlegroups.com...
Create a new query with your table as input. In the query grid pull down the
Marital_status field and the User_ID. In the menu choose...
View - Totals
In the totals row that now appears under each field leave the default "Group By"
under the Marital_status field but change the one under User_ID to Count.
Base your report on that query.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
tina je napisal: