Hi,
I am trying to create a query that shows departments that have and have not reported any data.
Table 1: Departments (Contains 40 Records\Departments In Total)
Field 1 = fID
Field 2 = fName
Table 2: Reported Data (Contains 5000 Records From 40 Departments)
Field 1 = fID (Relates to Above fID)
Field 2 = DataReported
The query uses expressions for fields and then I group and sum the fields:
ie: IIf([DataReported]="A",1,0)
I can create a query that will show all departments who have reported data, this works fine.
However, I also need the same query to display the departments who have not reported any data.
Current Query Example:
A,10
B,6
E,12
What I Need To Display Example:
A,10
B,6
C,0 or Null
D,0 or Null
E,12
I have tried a number of different angles but I can't quite figure out how to do it?
Any advice is welcome.
Daz...
I am trying to create a query that shows departments that have and have not reported any data.
Table 1: Departments (Contains 40 Records\Departments In Total)
Field 1 = fID
Field 2 = fName
Table 2: Reported Data (Contains 5000 Records From 40 Departments)
Field 1 = fID (Relates to Above fID)
Field 2 = DataReported
The query uses expressions for fields and then I group and sum the fields:
ie: IIf([DataReported]="A",1,0)
I can create a query that will show all departments who have reported data, this works fine.
However, I also need the same query to display the departments who have not reported any data.
Current Query Example:
A,10
B,6
E,12
What I Need To Display Example:
A,10
B,6
C,0 or Null
D,0 or Null
E,12
I have tried a number of different angles but I can't quite figure out how to do it?
Any advice is welcome.
Daz...