473,396 Members | 1,923 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to perform a count of a Y/N field

1
Good Day
I am trying to create some charts/graphs from a ms access 2007 database containing y/n answers but I am not getting the correct results by pulling data from the queries. I used the query wizard to create the query and it displayed all of the raw data, however when drawing the graph for the y/n records, Access created a chart with all of the values equal to the total number of y/n records in the query. Is it possible for someone to sum a series of "yes" without the use of SQL/VBA language?
Apr 30 '15 #1
1 1685
zmbd
5,501 Expert Mod 4TB
Short answer - no.
You have to have the SQL/VBA to count the records.
Please take a moment to open your query in design mode.
Then right click in the table area of the GUI
Select "SQL View" from the shortcut menu
Copy the string you find there into a post within this thread
Select that string and then format it using the [CODE/] format control.

In the meantime you might find this article helpful
•Why I stopped using Yes/No fields
Apr 30 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Phil Kershaw | last post by:
Is there any way to count the number of times a certain value appears in a range of fields on one record. I have a table with 25 yes/no fields in it and would like to count how many yes ticks there...
1
by: Giloosh | last post by:
Hello i have been trying to figure out this problem for a very long time now, and thought maybe its worth asking for some help. I want to figure out if there is a way to create a field in a...
1
by: Adrienne Boswell | last post by:
I have a form which I am letting the user enter more than one event at a time. I need to check whether one date is less than another. If the display to date is earlier than the event date, then...
5
by: Genalube | last post by:
I am trying to count the number of owners that show up in a query (conveyQuery). The query will produce a column OwnName that will contain names like John Smith, Mike Jones, Frank Vaugn. Each of...
4
by: Proogeren | last post by:
Hello I have the following query SELECT COUNT(ur.resourceId) AS times_downloaded FROM Resource as r, user_resource as ur WHERE r.resourceId = ur.resourceId Group BY ur.resourceId
2
by: lpc403 | last post by:
New to Java (and programming in general) and trying to accept a sentence from the command line to count the consonants, vowels, and punctuation. What code do I need to perform the following? 1)...
10
Jerry Maiapu
by: Jerry Maiapu | last post by:
In my tabular (format) report I would like to count only the fields with “AOT” in a column Overtime. How do I do that in the report? I know this is possible in query but for certain reasons I want to...
2
by: Chris Rich | last post by:
I have this query which gives a count of how many times a specific client_name shows up in a table and creates of count of that and calls it "Hits".... SELECT client_name, COUNT(1) AS Hits FROM...
27
Seth Schrock
by: Seth Schrock | last post by:
I'm trying to count the number of records in a table for each individual month, for a certain customer, in a given date range. I've created sample data so that I can test the query and the sample...
2
by: philsax | last post by:
If we have to arrange large array structure, and we should also have to set a field which is the 'index' of elements in the structure array as: typedef struct { int index; char ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.