If you are collecting data on a certain population, you may have a number of check box fields in your table. After conducting your surveys, the next step would be to use Access to add up all the affirmative answers and compare them to the sum of the negative answers.
For example, you ask your customers whether they intend to purchase a new wireless router in the next six months. To find the results, create a calculated field query by following these steps:
- Open the database containing the answers to your survey questions.
- In the Database window under Objects, click Queries.
- Click the Design button and then click OK.
- Select the table with the Will Purchase Router check box field.
- Click Add and then click Close.
- Click the first cell of the Query grid.
- Enter the following in the cell: SUM(Abs([Will Purchase])).
- Double-click Expr 1 and type Will Purchase Router In Six Months.
- Click in the next blank cell of the Query grid.
- Enter the following in the cell: SUM([Will Not Purchase]+1).
- Double-click Expr 1 and type Will Not Purchase Router In Six Months.
- Save and close the query.
When you run the query, the number of people who said they would purchase a wireless router appears in the first column; the number of those who said they would not purchase a router appears in the second column.
Miss an Access tip?
Check out the Microsoft Access archive, and catch up on other Access tips.
Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.