设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

返回列表 发新帖
查看: 192|回复: 3
打印 上一主题 下一主题

如何整理数据库结构文档?(求教!!!!)

[复制链接]
跳转到指定楼层
1#
发表于 2003-3-11 18:14:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我在整理我自己的Access2000的数据库结构,有没有一个系统表记录了相关的表名、列名、列类型、长度等基本信息。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 分享淘帖 订阅订阅
2#
发表于 2003-3-11 21:50:00 | 只看该作者
没有
3#
发表于 2003-3-11 21:54:00 | 只看该作者
你可以通过 表集合 来得到这些信息.
4#
发表于 2003-3-11 22:17:00 | 只看该作者
用Adox,查一下Adox的帮助

这是帮助中的一个例子:

Sub CloseConnection()

    Dim cnn As New Connection
    Dim cat As New Catalog
    Dim tbl As Table

    cnn.Open "rovider=Microsoft.Jet.OLEDB.4.0;" & _
        "Data Source= c:\Program Files\Microsoft Office\" & _
        "Office\Samples\Northwind.mdb;"
    Set cat.ActiveConnection = cnn
    Set tbl = cat.Tables(0)
    Debug.Print tbl.Type    ' Cache tbl.Type info
    cnn.Close
    Debug.Print tbl.Type    ' tbl is orphaned
    ' Previous line will succeed if this was cached
    Debug.Print tbl.Columns(0).DefinedSize
    ' Previous line will fail if this info has not been cached

End Sub



您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-9-22 05:39 , Processed in 0.087391 second(s), 28 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表