V
Vylent Fyre
I have created an Unmatched Quiz for two tables - tbl_WRFNSR Curr Month and
tbl_WRFNSR Prior Months.
My objective is once this query is done, I'd like to get the difference
between the unmatched results. Both tables have the Inside Labor column.
Every time I try to do:
Diff: {tbl_WRFNSR_Curr Month].[Inside Labor] - [tbl_WRFNSR_Prior
Month].[Inside Labor] I get nothing.
If I try to bring the Inside Labor from the tbl_WRFNSR Prior months, I get
nothing, even though there are totals in the table. Below is the SQL -
Please keep in mind the Unmatched Query works great, except I'd like to take
it one step further and get a Difference column in there for my report.
I've also tried a new query that pulls this Unmatched Query and the Prior
Months Table to see if I can get it to pull the Inside Labor totals and it
does not work.
Below is the SQL for the Unmatched Query:
SELECT [tbl_WRFNSR Current Month].[Month Downloaded], [tbl_WRFNSR Current
Month].Div, [tbl_WRFNSR Current Month].[AFE#], [tbl_WRFNSR Current
Month].Class, [tbl_WRFNSR Current Month].Description, [tbl_WRFNSR Current
Month].Loc, [tbl_WRFNSR Current Month].[Yard Description], [tbl_WRFNSR
Current Month].[Inside Labor], [tbl_WRFNSR Current Month].[Outside Labor],
[tbl_WRFNSR Current Month].Materials
FROM [tbl_WRFNSR Current Month] LEFT JOIN [tbl_WRFNSR Prior Months] ON
([tbl_WRFNSR Current Month].[AFE#] = [tbl_WRFNSR Prior Months].[AFE#]) AND
([tbl_WRFNSR Current Month].[Inside Labor] = [tbl_WRFNSR Prior
Months].[Inside Labor])
WHERE ((([tbl_WRFNSR Current Month].[Inside Labor])<>0) AND (([tbl_WRFNSR
Prior Months].[Inside Labor]) Is Null));
I bet it is possible, I'm just not catching what I need to do!
Thank you to everyone who will answer my question!
tbl_WRFNSR Prior Months.
My objective is once this query is done, I'd like to get the difference
between the unmatched results. Both tables have the Inside Labor column.
Every time I try to do:
Diff: {tbl_WRFNSR_Curr Month].[Inside Labor] - [tbl_WRFNSR_Prior
Month].[Inside Labor] I get nothing.
If I try to bring the Inside Labor from the tbl_WRFNSR Prior months, I get
nothing, even though there are totals in the table. Below is the SQL -
Please keep in mind the Unmatched Query works great, except I'd like to take
it one step further and get a Difference column in there for my report.
I've also tried a new query that pulls this Unmatched Query and the Prior
Months Table to see if I can get it to pull the Inside Labor totals and it
does not work.
Below is the SQL for the Unmatched Query:
SELECT [tbl_WRFNSR Current Month].[Month Downloaded], [tbl_WRFNSR Current
Month].Div, [tbl_WRFNSR Current Month].[AFE#], [tbl_WRFNSR Current
Month].Class, [tbl_WRFNSR Current Month].Description, [tbl_WRFNSR Current
Month].Loc, [tbl_WRFNSR Current Month].[Yard Description], [tbl_WRFNSR
Current Month].[Inside Labor], [tbl_WRFNSR Current Month].[Outside Labor],
[tbl_WRFNSR Current Month].Materials
FROM [tbl_WRFNSR Current Month] LEFT JOIN [tbl_WRFNSR Prior Months] ON
([tbl_WRFNSR Current Month].[AFE#] = [tbl_WRFNSR Prior Months].[AFE#]) AND
([tbl_WRFNSR Current Month].[Inside Labor] = [tbl_WRFNSR Prior
Months].[Inside Labor])
WHERE ((([tbl_WRFNSR Current Month].[Inside Labor])<>0) AND (([tbl_WRFNSR
Prior Months].[Inside Labor]) Is Null));
I bet it is possible, I'm just not catching what I need to do!
Thank you to everyone who will answer my question!