Foxtable(狐表)用户栏目专家坐堂 → DateTimePicker


  共有1648人关注过本帖树形打印复制链接

主题:DateTimePicker

帅哥哟,离线,有人找我吗?
huhu
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:五尾狐 帖子:1182 积分:8225 威望:0 精华:0 注册:2015/3/30 10:44:00
DateTimePicker  发帖心情 Post By:2017/3/29 10:54:00 [显示全部帖子]

Dim startdata As WinForm.DateTimePicker = e.Form.Controls("DateTimePicker3")
Dim Enddata As WinForm.DateTimePicker = e.Form.Controls("DateTimePicker4")
Dim yck As WinForm.RadioButton = e.Form.Controls("RadioButton1")
Dim filter As String
If (startdata.Value = "" And Enddata.Value = "" ) Then
    filter = "出库状态 = 1"
ElseIf (startdata.Value > "" And Enddata.Value > "") Then
    msgbox(1)
    filter = "导入日期 >= '" & startdata.Value & "'  And 导入日期 <= '" & Enddata.Value & "' And 出库状态 = 1"
End If
DataTables("销售出库单列表").LoadFilter = filter
DataTables("销售出库单列表").Load

提示:从字符串“”到类型“Date”的转换无效。

 回到顶部