原帖由 Grant 于 2007-8-23 15:31 发表
一句代码得到SQL SERVER时间的函数 Function getServerTime() As Date getServerTime = Cdate(CurrentProject.Connection.Execute("SELECT GETDATE()")(0).Value) End Function
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |