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 / Database Design / August 2004

Tip: Looking for answers? Try searching our database.

adding columns

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Katherine - 27 Aug 2004 16:10 GMT
Please excuse me - I need to re ask this question = I want
the addition to go into the table directly under six
seperate columns so that I may total them, but I cannot
figure out how to get the formula into the columns
directly under the information - I want it to act the same
as the add function in excel  - adding the number of X's
that appear above it.  However the column wont let me add
a function - only a check




To count the number of Yes records in a field named
MyYesNo in a table named
MyTable, use:
   = - DSum("MyYesNo", "MyTable")

Access stores Yes as -1, and No as 0.
Summing the field therefore gives the negative of the
count.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Katherine" <anonymous@discussions.microsoft.com> wrote in
message
news:156801c48c42$b8cd50d0$a501280a@phx.gbl...

> Is there a way to add the number of yes/no's in a yes/no
> column that produces a check mark on yes - if so can you
> please help me with how to do this.  Thank you
>
> Katherine
Lynn Trapp - 27 Aug 2004 16:35 GMT
You have to use a query to do that. Access is a relational database, not a
spreadsheet, so use it relationally. Tables are for storing data. Queries,
forms, and reports are for doing calculations.

Signature

Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm

> Please excuse me - I need to re ask this question = I want
> the addition to go into the table directly under six
[quoted text clipped - 19 lines]
> >
> > Katherine
 
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.