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 / Forms / November 2007

Tip: Looking for answers? Try searching our database.

Dcount Month Help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy Paris - 15 Nov 2007 21:57 GMT
Hi.

I have a table which conatains DATE of Entry and Tick Box. I need to
DCOUNT those tick boxes which are yes for the month of January from the
field date of entry.

Can someone help me please.
Thanks a lot
Jeff Boyce - 16 Nov 2007 13:09 GMT
Andy

You posted your question in the "forms" newsgroup, but ask about your
"table".

If this were mine, I'd create a query to count (i.e., add) the checkboxes
where Month([DateOfEntry]) = 1.

If you have to count checkboxes = True, try using DSUM() instead.  Take a
look in Access HELP for the exact syntax ... you should be able to use that
Month() function inside DSUM().

Note:  you may also need to use the Abs() function to get the absolute value
of the "sum" of the checkboxes -- Access stores a "True" as -1.

Signature

Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

> Hi.
>
[quoted text clipped - 4 lines]
> Can someone help me please.
> Thanks a lot
 
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.