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

【VBA】取得常用信息收集

时 间:2013-12-25 13:51:31
作 者:123木头人   ID:1455  城市:龙岩
摘 要:【VBA】取得常用信息
正 文:

后台连接字符串:CurrentProject.Connection

当前数据库路径:CurrentProject.Path 


快速平台常用信息:

后台连接字符串:GetADOConnection

后台数据库路径(含数据库名称):GetDatabaseConfig(dptDatabaseName,"Microsoft Access")

当前用户名:GetParameter("Current User Name", dbText, Null)

当前用户昵称:GetParameter("Current User Nickname", dbText, Null)

当前用户组ID:GetParameter("Current User Role ID", dbText, Null)

当前用户组:GetParameter("Current User Role Name", dbText, Null)



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

常见问答:

技术分类:

相关资源:

专栏作家

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