Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:根据日期得到“年、月、日”

1楼
13678391902 发表于:2024/5/14 16:19:00
图片点击可在新窗口打开查看
以下代码可以得到“”死亡年度“”,怎么做可以自动生存“死亡月份”或“日”,请老师帮忙完善一下,谢谢。
End Select
If e.DataCol.Name = "死亡时间" Then
    If e.DataRow.IsNull("死亡时间")Then
        e.DataRow("死亡年度") = Nothing
    Else
        e.DataRow("死亡年度") = e.DataRow("死亡时间").year
    End If
End If
2楼
有点蓝 发表于:2024/5/14 16:25:00
http://www.foxtable.com/webhelp/topics/1337.htm
共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .01953 s, 2 queries.