I have a form with a header and detail section. In the header, I created an unbound field that I want to display a count of only certain types of records in the detail. This has worked for me before, but for some reason, when I copy it to a new form, it only comes up with a "#Error" result.
The formula I'm using is: =Count(IIf([FormNumber]="551",1,0))
The list in the detail has a few different "FormNumber" types, and I'd like to keep a separate count of each.
Any ideas as to why this gremlin keeps popping up on me?
NOTE: I failed to update my profile. I'm using Access 2010 on Windows 7 (both 64 bit).