Dcount Month Help

  • Thread starter Thread starter Andy Paris
  • Start date Start date
A

Andy Paris

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
 
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.

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP


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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access Dcount (multiple criteria) 3
Access Dcount function in access 0
Excel Vba to change displayed year automatically. 14
dcount 1
Access MS Access DCount function problem 0
Dcount Error 1
Dcount Problem 2
DCount alwaysreturning 1 0

Back
Top