无法加入备注,OLE或超链接对象。使用服务器

时间:2016-07-11 06:47:17

标签: sql ms-access

以下代码应该做的是从[ICBC]表中获取每条记录,并在[CIC TT Payment]表中查找匹配项。但它给了我一个“无法加入备注,OLE或超链接对象”类型的错误。关于如何解决这个问题的任何想法?

    SELECT [CIC TT Payment].*, ICBC.*
    FROM ICBC INNER JOIN [CIC TT Payment]
    ON (ICBC.[贷方发生额] Between [CIC TT Payment].Monthly_Amt+200 And [CIC TT Payment].Monthly_Amt-200)
    AND ((ICBC.[个性化信息] Like "*" & [CIC TT Payment].Plate & "*")
    Or (ICBC.[个性化信息] Like "*" & [CIC TT Payment].Contract & "*"))
    AND ([CIC TT Payment].Contact_Date BETWEEN  DateAdd("d",-2,[ICBC].[交易时间]) AND DateAdd("d",2,[ICBC].[交易时间]));

1 个答案:

答案 0 :(得分:0)

尝试在备忘录字段中应用

SELECT [CIC TT Payment].*, ICBC.*
FROM ICBC INNER JOIN [CIC TT Payment]
ON (ICBC.[贷方发生额] Between [CIC TT Payment].Monthly_Amt+200 And [CIC TT Payment].Monthly_Amt-200)
AND ((Left(ICBC.[个性化信息],255) Like "*" & [CIC TT Payment].Plate & "*")
Or (Left(ICBC.[个性化信息],255) Like "*" & [CIC TT Payment].Contract & "*"))
AND ([CIC TT Payment].Contact_Date BETWEEN  DateAdd("d",-2,[ICBC].[交易时间]) AND DateAdd("d",2,[ICBC].[交易时间]));