客户资料表和客户联络人资料建立了关联,我在客户资料表和客户联系人表做了模拟关联并建立一个停靠窗口,写的语句如下:
客户资料 current changed
If Forms("客户联系人编辑").Opened() '一定要判断用于模拟关联表的窗口是否已经打开
Dim t As Table = Tables("客户联系人编辑_Table1")
With Tables("客户资料")
If .Current Is Nothing Then
t.Filter = "False"
Else
t.Filter = "客户简称 = '" & .current("客户简称") & "'"
End If
End With
End If
客户联系人编辑窗口 afterload
Dim t As Table = Tables("客户联系人编辑_Table1")
With Tables("客户资料")
If .Current Is Nothing Then
t.Filter = "False"
Else
t.Filter = "客户简称 = '" & .current("客户简称") & "'"
End If
End With
但是每次打开客户资料表并且客户联系人编辑窗口打开的时候都会显示““=”运算符后缺少操作数”
在客户资料表格上下移动的时候也会显示这句话。我检查了好久都不 知道问 题出在哪。
所以请专家帮忙指导一下。
谢谢!