一、学员问题描述:
清远--陈君安(30157401) 2021-06-30 22:26:26
请问
Access快速开发平台2.6.1新版本如何获得服务器IP地址?
二、解决方法:
获取服务器IP地址用:
GetDatabaseConfig(dptServerAddress)
参考下面更多的获取服务器参数信息用法:
SvrAdd = GetDatabaseConfig(dptServerAddress)
'服务器地址
dbsn = GetDatabaseConfig(dptDatabaseName)
'数据库名称
USID = GetDatabaseConfig(dptUserName)
'用户名
pw = GetDatabaseConfig(dptPassword)
'读取密码