Formula for text box not working in Report
Hi All,
I am trying to place this formula in the Control Source of a text box placed in a Report. It is not working. Any ideas what am I doing wrong?
I want it to count the occurrences when Review Type=Full and when month is July (Jul) for a field of dates
=IIf([strRevTypeNIRB]="Full" And Format([dtmNPacketSubmitDate],"mmm") Like "Jul",Count([dtmNPacketSubmitDate]),Null)
It is either not counting the number of occurrences at all or it counts all the occurrences (regardless of month)
thanks for any suggestions....
sjl
Hi All,
I am trying to place this formula in the Control Source of a text box placed in a Report. It is not working. Any ideas what am I doing wrong?
I want it to count the occurrences when Review Type=Full and when month is July (Jul) for a field of dates
=IIf([strRevTypeNIRB]="Full" And Format([dtmNPacketSubmitDate],"mmm") Like "Jul",Count([dtmNPacketSubmitDate]),Null)
It is either not counting the number of occurrences at all or it counts all the occurrences (regardless of month)
thanks for any suggestions....
sjl
Last edited: