Dim txt As String = e.Form.Controls("ComboBox1").TextDim tbl As Table = Tables("系统_Table1")If txt = "" Then tbl.Filter = ""Else txt = "'*" & txt & "*'" tbl.Filter = "录入部门 Like " & txt ‘这个代码是以“录入部门”为筛选End If
我现在希望以“起始日期”和“终止日期”为条件,代码应该怎么写?