Hello everyone!
I have a query in access (I did not build and has worked for 13 years) that all of a sudden is not working anymore and gives the "Your SQL query could not be executed because it contains ambiguous outer joins". I'm not very adept at SQL so I am struggling on fixing the issue. The query is:
Any help on rewriting this query would be greatly helpful.
I have a query in access (I did not build and has worked for 13 years) that all of a sudden is not working anymore and gives the "Your SQL query could not be executed because it contains ambiguous outer joins". I'm not very adept at SQL so I am struggling on fixing the issue. The query is:
Code:
SELECT TaxProxy_Account.[Checked On], TaxProxy_Account.Account, TaxProxy_Account.Sell_Fund_1, TaxProxy_Account.Sell_Fund_2, TaxProxy_Account.ProxyHurdle AS Hurdle, TaxProxy_Account.PercentSell_1, TaxProxy_Account.PercentSell_2, TaxProxy_Account.ProxyHurdle, TaxFactor_XTaxFactor_Sum.SumOfWeight, IIf((([PercentSell_1]/[SumOfWeight])*[SumOfXTaxFactor])>50,50,(([PercentSell_1]/[SumOfWeight])*[SumOfXTaxFactor])) AS Account_Factor, TaxFactor_XTaxFactor_Sum.SumOfXTaxFactor, [Hurdle]-[Account_Factor] AS Diff, TaxProxy_Account.[Review Date], TaxProxy_Account.Buy_Fund_1, TaxProxy_Account.Model
FROM TaxFactor_XTaxFactor_Sum AS TaxFactor_XTaxFactor_Sum_1, TaxProxy_Account LEFT JOIN TaxFactor_XTaxFactor_Sum ON (TaxProxy_Account.Account = TaxFactor_XTaxFactor_Sum.[Portfolio Account Number]) AND (TaxProxy_Account.[Sell_Fund_1] = TaxFactor_XTaxFactor_Sum.Symbol);
Any help on rewriting this query would be greatly helpful.