以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  有GroupTableBuilder怎么在同一列得到日期型列,(“来电时间”本身是日期型)  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=128203)

--  作者:soap_lwb
--  发布时间:2018/11/30 20:15:00
--  有GroupTableBuilder怎么在同一列得到日期型列,(“来电时间”本身是日期型)
 
需要用1列就把年月日显示出来,但运行的结果是三列显示出期,

此主题相关图片如下:日期输出格式.png
按此在新窗口浏览图片

Dim b As New GroupTableBuilder("统计表1",DataTables("咨询业务热线登记表"))

b.filter = Tables("咨询业务热线登记表").Filter


b.Groups.AddDef("来电时间",DateGroupEnum.Year,"年")
a.Groups.AddDef("来电时间",DateGroupEnum.Year,"年") 

a.Groups.AddDef("来电时间","月")

a.Groups.AddDef("来电时间",DateGroupEnum.Day,"日") 

--  作者:有点蓝
--  发布时间:2018/11/30 20:46:00
--  
http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&Id=128200