Rss & SiteMap

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

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

标题:定时浏览

1楼
nxqtxwz 发表于:2022/8/4 15:09:00
请问有没有办法做到定时浏览呢?
就是指定的表在指定时间段可以打开。
2楼
有点蓝 发表于:2022/8/4 16:10:00
比如判断12~15点之间

if date.today.hour >= 12 andalso date.today.hour <= 15 then
加载表
else
卸载表
endif
3楼
nxqtxwz 发表于:2024/1/10 11:46:00
请问老师,怎么能很方便的设置开放浏览时间呢,也不能老是改代码呀。
4楼
有点蓝 发表于:2024/1/10 12:02:00
把时间放到表格里

dim r as row = tables("某设置表").rows(0)

if date.today.hour >= r("开始小时值") andalso date.today.hour <= r("结束小时值") then
加载表
else
卸载表
endif
共4 条记录, 每页显示 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.