参考:http://www.foxtable.com/webhelp/topics/2256.htm
LoadUserSetting事件改为
If User.Name = "张三" Then
DataTables("表A").Loadtop = 10
Else
DataTables("表A").Loadtop = Nothing
End If
DataTables("表A").LoadFilter = ""
DataTables("表A").Load()
如果是外部表直接在BeforeLoadOuterTable事件处理即可
If e.DataTableName = "表A" AndAlso e.User.Name = "张三" Then
e.SelectString = "Select top 10 * From {表A}"
End If