访问错误“无法加入备忘录,OLE或超链接对象”,即使更改了字段相关字段的数据类型

时间:2017-04-24 07:48:47

标签: sql ms-access

最初我试图加入长文本和超链接,以及短文本等。当从查询中删除字段时,连接起作用。但是在更改字段(长文本到短文本和超短链接到短文本)并重新引入查询后,查询仍然会出现相同的错误。

SELECT products1.*

FROM products1
    LEFT JOIN Products 
        ON (products1.Category = Products.Category)
        AND (products1.[Minimum Reorder Quantity] = Products.[Minimum Reorder Quantity]) 
        AND (products1.Discontinued = Products.Discontinued) 
        AND (products1.[Quantity Per Unit] = Products.[Quantity Per Unit]) 
        AND (products1.[Target Level] = Products.[Target Level]) 
        AND (products1.[Reorder Level] = Products.[Reorder Level]) 
        AND (products1.[List Price] = Products.[List Price]) 
        AND (products1.[Standard Cost] = Products.[Standard Cost]) 
        AND (products1.ID = Products.ID) AND (products1.[Product Name] = Products.[Product Name]) 
        AND (products1.[Product Code] = Products.[Product Code])

WHERE (
    ((Products.ID) Is Null) 
    AND ((Products.[Product Code]) Is Null)  
    AND ((Products.[Product Name]) Is Null) 
    AND ((Products.[Standard Cost]) Is Null) 
    AND ((Products.[List Price]) Is Null) 
    AND ((Products.[Reorder Level]) Is Null) 
    AND ((Products.[Target Level]) Is Null) 
    AND ((Products.[Quantity Per Unit]) Is Null) 
    AND ((Products.Discontinued) Is Null) 
    AND ((Products.[Minimum Reorder Quantity]) Is Null) 
    AND ((Products.Category) Is Null)
);

Link directs to Image showing Table structure

0 个答案:

没有答案