If User.Name = "张经理" Then DataTables("订单").LoadFilter = ""Else DataTables("订单").LoadFilter = "业务员 = '" & User.Name & "'"
Else
DataTables("订单").LoadFilter = "协助团队 like '%" & user.Name & "%'"
End If
DataTables("订单").Load()
才学习的,你试下看可以用不