你得明确Table的类型,不明确的话,这样写: Dim wbl As WinForm.Table = e.Form.Controls("Table1")Dim tbl As Table = wbl.Table
tbl.Filter = "逻辑列 = True"
写在窗口的AfterLoad事件。