AccessDiscussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
1. Create a simple query which contains only your boolean field and shows ALL records.
2. Open your new query in Design View.
3. Select the Design tab at the top of your screen and select Totals (button contains a sideways M).
4. Locate your boolean's field column on your query screen and ensure the Total row indicates Group By.
5. Find the next available (empty) field name column on your query screen and insert the following data on that column:
BOOLEANCOUNT: [Enter your Boolean's field name here]
Select your Table's Name
Change Group By to Read COUNT
6. Save
7. Run Query