仿照“用Table控件模拟关联表”,想实现两个表之间某字段间的模糊匹配,If Forms("窗口1").Opened()
Dim t As Table = Tables("窗口1_Table1")
With Tables("收款对手不重复")
If .Current Is Nothing Then
t.Filter ="False"
Else
t.Filter = "Left(Name,10) = " & Left(.Current("对方付款人名称"),10) & "or Left(Name,10) = " & left(.Current("交易对手标准名称"),10)
End If
End With
End If
但在打开窗口时,提示:
.NET Framework 版本:4.0.30319.42000
Foxtable 版本:2020.1.19.19
错误所在事件:
详细错误信息:
表达式包含未定义的函数调用 Left()。