Mike Hughes
Registered User.
- Local time
- Today, 23:38
- Joined
- Mar 23, 2002
- Messages
- 493
There are no closed cases in this CASELOAD and nothing is being inserted into TABLE 15. Not the CASELOAD name or the number of CLOSED CASES in this case '0'.
Is there a way to have the query insert the CASELOAD 'name' and the number of CLOSED CASES as '0'?
SELECT
[2 WORKER CASES].CASELOAD,
Count(NOLDBA_INT_CASE_STATUS.CASE_ID) AS [CLOSED CASES]
INTO [TABLE 15]
FROM [2 WORKER CASES] INNER JOIN NOLDBA_INT_CASE_STATUS ON [2 WORKER CASES].CASE = NOLDBA_INT_CASE_STATUS.CASE_ID
WHERE NOLDBA_INT_CASE_STATUS.CASE_STATUS="C"
GROUP BY [2 WORKER CASES].CASELOAD
Thanks
Is there a way to have the query insert the CASELOAD 'name' and the number of CLOSED CASES as '0'?
SELECT
[2 WORKER CASES].CASELOAD,
Count(NOLDBA_INT_CASE_STATUS.CASE_ID) AS [CLOSED CASES]
INTO [TABLE 15]
FROM [2 WORKER CASES] INNER JOIN NOLDBA_INT_CASE_STATUS ON [2 WORKER CASES].CASE = NOLDBA_INT_CASE_STATUS.CASE_ID
WHERE NOLDBA_INT_CASE_STATUS.CASE_STATUS="C"
GROUP BY [2 WORKER CASES].CASELOAD
Thanks