module1.bas
来自「酒店课房管理系统。完成酒店的客房入住」· BAS 代码 · 共 10 行
BAS
10 行
Attribute VB_Name = "Module1"
Public CustClass As String 'CustClass用来标志客户类型
Public Function GetDBPath() 'GetDBPath 函数用来获取要操作的数据库的路径
Dim dbPathStr As String 'dbPathStr 用来保存数据库的路径
dbPathStr = App.Path
If Right(App.Path, 1) <> "\" Then dbPathStr = App.Path & "\"
dbPathStr = dbPathStr & "dbHotel.mdb"
GetDBPath = dbPathStr
End Function
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?