JithuAccess
Member
- Local time
- Today, 02:52
- Joined
- Mar 3, 2020
- Messages
- 325
Hello Guys,
In my Report I am using DCount Function to find the Total Number of Decisions made in a Month by Program and this is my code
This is working Perfect.
But I also have to find the total number of Decision by Fiscal Year. So I have add the following code:
I am getting #Error in the Report.
Could you please let me know how to fix this?
Thanks
In my Report I am using DCount Function to find the Total Number of Decisions made in a Month by Program and this is my code
Code:
=DCount("strProgram","[tblMaster Table]","strProgram='ABC-123' And datDecision Between DateSerial(Year(Date()),Month(Date())-1,1) And DateSerial(Year(Date()),Month(Date())+0,0)")
But I also have to find the total number of Decision by Fiscal Year. So I have add the following code:
Code:
=DCount("strProgram","[tblMaster Table]","strProgram='ABC-123' And datDecision Between DateSerial(Year(Date())-1,4,1) And DateSerial(Year(Date())+0,3,31),1)")
Could you please let me know how to fix this?
Thanks