DataTables("表A").LoadFilter = "(编号 In (S elect 编号 from {电话记录} where 接听时间 is not null or 编号 not In (S elect 编号 From {电话记录} ) group by 编号 having max(接听时间) <= '" & Date.Today.AddDays(- 7) & "')) And 负责人 Is null And (分配日期 < '" & Date.Today.Adddays(-7) & "' or 分配日期 is null ) and 创建日期 < '" & Date.Today.Adddays(-7) & "'"