Foxtable(狐表)用户栏目专家坐堂 → GetComboListString无法处理日期列,有别的办法吗


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

主题:GetComboListString无法处理日期列,有别的办法吗

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:106675 积分:542564 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2017/6/23 10:56:00 [显示全部帖子]

可以的。

你想怎么处理?

 回到顶部
帅哥,在线噢!
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:106675 积分:542564 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2017/6/23 12:04:00 [显示全部帖子]

With wb.AddInputGroup("form1","ipg11","数据筛选")
    Dim str As String = DataTables("日报表").GetComboListString("日期")
    Dim arr() As String = str.Split("|")
    str = ""
    For Each ar As String In arr
        str &= ar.Split(" ")(0) & "|"
    Next
    .AddSelect("rq","日报日期",str.TrimEnd("|"))
    With wb.AddButtonGroup("form1","btg11",True)
        .Add("btn11", "确定", "submit")
    End With
End With

 回到顶部