Dim intProjType As Integer intProjType = Application.CurrentProject.ProjectType Select Case intProjType Case 0 ' acNull MsgBox "ProjectType is acNull" Case 1 ' acADP MsgBox "ProjectType is acADP" Case 2 ' acMDB MsgBox "ProjectType is acMDB" Case Else MsgBox "不能判断项目类型" End Select 判断adp还是mdb 的函数 |
|站长邮箱|小黑屋|手机版|Office中国/Access中国
( 粤ICP备10043721号-1 )
GMT+8, 2025-4-2 12:58 , Processed in 0.148919 second(s), 23 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.