L
Lucien
I am running a query that includes 2 tables and another query. I have one
field in a query [New Item Tracking Run w Invoice Range+Together] linked to a
like field in a table [Safety Factors All]. I would like this to be a LEFT
join so I can display all records from the [New Item Tracking Run w Invoice
Range+Together] query and the records that match in the [Safety Factors All]
table. Access will only allow me to create an INNER join. When I try to
create a LEFT join I get an error message that says there is an ambiguous
outer join. I am kind of a new access user and I do not know what I'm doing
wrong.
Below is the SQL from this query in it's current state with the INNER join:
Any help will be greatly appreciated
SELECT [New Item Tracking Run w Invoice Range+Together].PLANT, [New Item
Tracking Run w Invoice Range+Together].ITEM, [New Item Tracking Run w Invoice
Range+Together].BOD_CODE, [New Item Tracking Run w Invoice
Range+Together].INVOICES, [New Item Tracking Run w Invoice
Range+Together].UNITS, [New Item Tracking Run w Invoice Range+Together].[Brn
Type], [New Item Tracking Run w Invoice Range+Together].[Invoice Bucket],
[Slpk_Wk Days].Slpk, [New Item Tracking Run w Invoice Range+Together].[Lead
Time], [Slpk_Wk Days].[Work Days], ([UNITS]/[Slpk])*([Lead time]/[Work Days])
AS [U/S*LT/W], [Safety Factor]^2.67 AS V, [Lead Time]^-0.283 AS L,
[INVOICES]^-0.264 AS I, 0.000083*[V]*[L]* AS LVI,
Sqr([U/S*LT/W]*(2*([UNITS])/([Slpk]*[INVOICES])-1)) AS [Safety Stock],
([Slpk]*(([U/S*LT/W]+[LVI]*([Safety Stock])))) AS [S L]
FROM [Slpk_Wk Days], [New Item Tracking Run w Invoice Range+Together] INNER
JOIN [Safety Factors All] ON [New Item Tracking Run w Invoice
Range+Together].Together = [Safety Factors All].Together;
field in a query [New Item Tracking Run w Invoice Range+Together] linked to a
like field in a table [Safety Factors All]. I would like this to be a LEFT
join so I can display all records from the [New Item Tracking Run w Invoice
Range+Together] query and the records that match in the [Safety Factors All]
table. Access will only allow me to create an INNER join. When I try to
create a LEFT join I get an error message that says there is an ambiguous
outer join. I am kind of a new access user and I do not know what I'm doing
wrong.
Below is the SQL from this query in it's current state with the INNER join:
Any help will be greatly appreciated
SELECT [New Item Tracking Run w Invoice Range+Together].PLANT, [New Item
Tracking Run w Invoice Range+Together].ITEM, [New Item Tracking Run w Invoice
Range+Together].BOD_CODE, [New Item Tracking Run w Invoice
Range+Together].INVOICES, [New Item Tracking Run w Invoice
Range+Together].UNITS, [New Item Tracking Run w Invoice Range+Together].[Brn
Type], [New Item Tracking Run w Invoice Range+Together].[Invoice Bucket],
[Slpk_Wk Days].Slpk, [New Item Tracking Run w Invoice Range+Together].[Lead
Time], [Slpk_Wk Days].[Work Days], ([UNITS]/[Slpk])*([Lead time]/[Work Days])
AS [U/S*LT/W], [Safety Factor]^2.67 AS V, [Lead Time]^-0.283 AS L,
[INVOICES]^-0.264 AS I, 0.000083*[V]*[L]* AS LVI,
Sqr([U/S*LT/W]*(2*([UNITS])/([Slpk]*[INVOICES])-1)) AS [Safety Stock],
([Slpk]*(([U/S*LT/W]+[LVI]*([Safety Stock])))) AS [S L]
FROM [Slpk_Wk Days], [New Item Tracking Run w Invoice Range+Together] INNER
JOIN [Safety Factors All] ON [New Item Tracking Run w Invoice
Range+Together].Together = [Safety Factors All].Together;