I have a report that will show 'quarterly' numbers for different types of activities.
Example: I need to calculate how many Septic permits were issued that were NEW on a quarterly basis.
The fields in my underlying query are:
Permit Purpose (which will have the value of New or Repair)
IssueDate (which is the date the permit was issued)
First, I used: =Count(IIf([PermitPurpose],"New"))
it returns a count, but not an accurate one (it also counted those that had the value of "Repair")
Then I changed it to: =Count(IIf([PermitPurpose]="New")) and I now get an error: The function you entered has a function containing the wrong number of arguements
What am I doing wrong?
Second part of my questions, I want it to calculate for all text box values between certain dates (quarterly) and if possible, this being a choice of the user so the same report can be used throughout the year. Is this at all possible?
I am not 'experienced' in vb, so any help will be greatly appreciated.
Example: I need to calculate how many Septic permits were issued that were NEW on a quarterly basis.
The fields in my underlying query are:
Permit Purpose (which will have the value of New or Repair)
IssueDate (which is the date the permit was issued)
First, I used: =Count(IIf([PermitPurpose],"New"))
it returns a count, but not an accurate one (it also counted those that had the value of "Repair")
Then I changed it to: =Count(IIf([PermitPurpose]="New")) and I now get an error: The function you entered has a function containing the wrong number of arguements
What am I doing wrong?
Second part of my questions, I want it to calculate for all text box values between certain dates (quarterly) and if possible, this being a choice of the user so the same report can be used throughout the year. Is this at all possible?
I am not 'experienced' in vb, so any help will be greatly appreciated.