Need a Select statement that shows the missing [Removal Qty and Location].[Work Area] that is not in the [Worksite Checklist].[Work Area Num]
So find the same project number in both tables but show the one [Work Area] that is not in the [Worksite Checklist] table.
Example: there are 5 records in the [Worksite Checklist] table and only 4 of them are in the [Removal Qty and Location] table.
[Worksite Checklist] [Removal Qty and Location]
I I
II II
IV IV
V < need to find this record
III III
Here is what I started with
SELECT [Worksite Checklist].[Project Number], [Worksite Checklist].[Work Area Num], [Removal Qty and Location].[Work Area]
FROM [Worksite Checklist] INNER JOIN [Removal Qty and Location] ON [Worksite Checklist].[Project Number] = [Removal Qty and Location].[Project Number]
WHERE ((([Removal Qty and Location].[Work Area])<>[Worksite Checklist].[Work Area Num]));
TIA
DougP, MCP, A+
So find the same project number in both tables but show the one [Work Area] that is not in the [Worksite Checklist] table.
Example: there are 5 records in the [Worksite Checklist] table and only 4 of them are in the [Removal Qty and Location] table.
[Worksite Checklist] [Removal Qty and Location]
I I
II II
IV IV
V < need to find this record
III III
Here is what I started with
SELECT [Worksite Checklist].[Project Number], [Worksite Checklist].[Work Area Num], [Removal Qty and Location].[Work Area]
FROM [Worksite Checklist] INNER JOIN [Removal Qty and Location] ON [Worksite Checklist].[Project Number] = [Removal Qty and Location].[Project Number]
WHERE ((([Removal Qty and Location].[Work Area])<>[Worksite Checklist].[Work Area Num]));
TIA
DougP, MCP, A+