Hey all,
I have a query that has a calculated field (Number of Employees). This uses a simple IIF to calculate the number of employees and works fine.
I have a second query that uses the first query. In this query I use the calculated field to 'Sum' the number of employees grouped by the field 'Building'.
In the second query I find that the Sum figure is wrong! However, if I create a new field within the query (i.e. Num Of Employees: [Number of Employees]) it works!
This is fine but I was wondering if anyone could shed any light on why it works this way?
Thanks,
-NS
I have a query that has a calculated field (Number of Employees). This uses a simple IIF to calculate the number of employees and works fine.
I have a second query that uses the first query. In this query I use the calculated field to 'Sum' the number of employees grouped by the field 'Building'.
In the second query I find that the Sum figure is wrong! However, if I create a new field within the query (i.e. Num Of Employees: [Number of Employees]) it works!
This is fine but I was wondering if anyone could shed any light on why it works this way?
Thanks,
-NS