Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
Dim Filter As String
With e.Form.Controls("StartDate")
If .Value IsNot Nothing Then
If Filter >"" Then
Filter = Filter & " And "
End If
Filter = Filter & "寄件日期 >= #" & .Value & "#"
End If
End With
With e.Form.Controls("EndDate")
If .Value IsNot Nothing Then
If Filter >"" Then
Filter = Filter & " And "
End If
Filter = Filter & "寄件日期 <= #" & .Value & "#"
End If
End With
If Filter > "" Then
DataTables("通讯往来").LoadFilter = Filter
End If
DataTables("通讯往来").Load()
Dim dst As WinForm.DataList = e.Form.Controls("DataList1")
dst.DataTable = DataTables("通讯往来")
dst.Build()