Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / April 2006

Tip: Looking for answers? Try searching our database.

Yes/No records

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joan - 18 Apr 2006 19:31 GMT
I have several fields that have yes/no and would like to run a report
that shows just the total of "yes" for each field.  Some of the records
have yes in more than one field.  Any suggestions?
freakazeud - 18 Apr 2006 23:04 GMT
Hi,
Since a Yes/No field's value can only be -1 or 0, all you need do is
add them with the Abs() function.

=Abs(Sum([YesNoField]))

Maybe you could provide us with your table structure though. It is unusual
to have a lot of yes/no fields in a table as it should rather be records in a
related table.
HTH
Good luck
Signature

Oliver
Admin Specialist & Computer Science Major @ UMD - Go Terps - :)
http://www.oli-s.de

> I have several fields that have yes/no and would like to run a report
> that shows just the total of "yes" for each field.  Some of the records
> have yes in more than one field.  Any suggestions?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.