Dim Filter As String
If Filter<> "管理员" Then filter = "大类 like '" & user.group & "*'"Else filter = ""End If
DataTables("出入库明细").LoadFilter = filterDataTables("库调明细表_主表").LoadFilter = filterDataTables("货号信息").LoadFilter = filter
DataTables("出入库明细").LoadDataTables("库调明细_副表").LoadDataTables("库调明细表_主表").LoadDataTables("货号信息").Load