将窗口的DropDownOpened事件代码设置为:
Dim r as row = e.Form.DropTable.currentDim tbl As Table = Tables("窗口1_Table1")If r.isnull("产品名称") Then
tbl.Filter = ""Else tbl.Filter = "产品名称 ='" & r("产品名称") & "'"
End If