Rss & SiteMap

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

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

标题:请教,如何让日期显示为年-月

1楼
SUV2258 发表于:2024/4/26 22:32:00
请教下各位老师,如何能让日期格式列中的内容只显示为年-月,而不是显示年月日,例如显示为2024年5月

2楼
有点蓝 发表于:2024/4/27 8:51:00
drawcell事件

if e.col.name = "日期列" then
if e.row.isnull("日期列") = false
e.text = format(e.row("日期列"),"yyyy年MM月")
end if
end if
共2 条记录, 每页显示 10 条, 页签: [1]

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

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