I have a control on a report that has a user defined function as the controlsource. Basically I want to count the number of records where the recvdate is equal to the completeddate in the table. For example:
[recvddate] = 9/18/07 and [completeddate] = 9/18/07
this record would get counted. Below is the syntax that I have but it is resulting in 0 records. What am I doing wrong with this syntax.
[recvddate] = 9/18/07 and [completeddate] = 9/18/07
this record would get counted. Below is the syntax that I have but it is resulting in 0 records. What am I doing wrong with this syntax.
Code:
=dcount("id","tblPercentages","[recvddate] = [completeddate]")