Access 2007 - Left Join to a query returns #Error instead of Null

前端 未结 3 1479
傲寒
傲寒 2020-12-02 01:34

Similar to this question, but their problem with the query was never fully solved:

#Error showing up in multiple LEFT JOIN statement Access query when value should b

3条回答
  •  余生分开走
    2020-12-02 01:55

    This is old, but I found a work around that I hope helps somebody. I had the same issue with a right-side query, but I also had a parallel right-side query with a similar data source and derivation that was working correctly in a left join. The difference was there was a UNION query between the working right-side and an underlying query with a simple calculated field. So I put a UNION query between the troublesome right-side query and the final query by creating an empty table with the same fields creating a union with that table and the original right-side query. Worked well. Based on the information from Wilskt and Allen Browne, I think that the UNION is forcing Jet to delay evaluation.

提交回复
热议问题