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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi. Can I total aYes No data type in numeric format? End Report 1

Status
Not open for further replies.

bubblesinft

Technical User
Aug 9, 2006
2
US
I am trying to generate a report that will numerically show at the end of the report a total for all of the records YES'es and No's displayed. All fields are text and yes/no data types. Count and display the number of records in a total column?
 
To count the number of records in a report where a yesno field is yes, use a control source like:
=Sum(Abs(YesNoFieldName]))
To count the No values
=Sum([YesNoFieldName]+1)


Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Thanks dhookom for I will try to count the YES/No's data on Monday. Bubblesinft.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top