if not isnull(dlookup([?????????],??????,"[?????????]='" & trim(me.?????????) &"'")) then 代码显示缺少分隔符?
感觉你的sql里面应该有中文,因为某种原因变成了问号,检查下编码