Access开发培训
网站公告
·Access专家课堂QQ群号:151711184    ·Access快速开发平台下载地址及教程    ·欢迎加入Access专家课堂微信群!    ·如何快速搜索本站文章|示例|资料    
您的位置: 首页 > 技术文章 > Access数据库-模块/函数/VBA

检查当前数据库中是否有任何已损坏的引用

时 间:2008-07-04 22:47:01
作 者:李寻欢   ID:2712  城市:深圳
摘 要:检查当前数据库中是否有任何已损坏的引用函数
正 文:

Public Function strReport() As String
Dim refLoop As Reference
' 测试是否有损坏的引用
If Application.BrokenReference = True Then
    strReport = "The following references are broken:" & vbCr

    ' 循环检查每个引用
    For Each refLoop In Application.References
        If refLoop.IsBroken = True Then
            strReport = strReport & "    " & refLoop.Name & vbCr
        End If
    Next refLoop
End If
End Function



Access软件网QQ交流群 (群号:483923997)       Access源码网店

常见问答:

技术分类:

相关资源:

专栏作家

关于我们 | 服务条款 | 在线投稿 | 友情链接 | 网站统计 | 网站帮助