用代码查看所有引用-十段
Access软件网QQ交流学习群(群号码198465573),欢迎您的加入!
首页 >技术文章> Access数据库-模块/函数/VBA


用代码查看所有引用

发表时间:2008/5/30 23:10:28 评论(0) 浏览(6449)  评论 | 加入收藏 | 复制
   
摘 要:'用代码查看所有引用
正 文:

Function ReferenceInfo()

   Dim strMessage As String
   Dim strTitle As String
   Dim refItem As Reference
  
   On Error Resume Next
  
   For Each refItem In References
      If refItem.IsBroken Then
         strMessage = "Missing Reference:" & vbCrLf & refItem.FullPath
      Else
         strMessage = "Reference: " & refItem.Name & vbCrLf _
            & "Location: " & refItem.FullPath & vbCrLf
      End If
      Debug.Print strMessage
   Next refItem

End Function


Access软件网交流QQ群(群号:198465573)
 
 相关文章
Access运行时错误'2450':【试用版1.0】您开发的软件名...  【麥田  2012/11/18】
Access运行时错误'2102':窗体名称“frm_CodeBx...  【麥田  2012/11/24】
Microsoft Office Access遇到问题需要关闭。我...  【麥田  2012/12/10】
Access运行时错误'2465':Microsoft Acces...  【麥田  2012/12/20】
两个数据库其中一个被引用,怎样打开被引用数据库中的窗体。  【一杯绿茶  2013/2/18】
常见问答
技术分类
相关资源
文章搜索
关于作者

十段

文章分类

文章存档

友情链接