1、正如版主所说,数据量大了以后,怎么都会慢的
2、Tables(e.Form.Name & "_table1").Filter = "ID not in (" & DataTables(e.Form.Name & "_table2").GetComboListString("ID").Replace("|", ",") & ")"
似乎有点点问题
"ID not in ('" & DataTables(e.Form.Name & "_table2").GetComboListString("ID").Replace("|", "','") & "')"
3、如果只是为了查table1的数据,那么table2的数据没必要加载到界面上,用一个变量从后台获取数据
[此贴子已经被作者于2022/8/2 14:06:11编辑过]