Created
October 27, 2022 14:12
-
-
Save el3um4s/a26fabfdcdb6697bb7b6c4ce9239eaef to your computer and use it in GitHub Desktop.
MEDIUM - How To Link Forms in Access - 01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Function getNameCurrentDB() | |
Dim db As DAO.Database | |
Set db = CurrentDb() | |
Dim name As String | |
name = db.name | |
Set db = Nothing | |
getNameCurrentDB = name | |
End Function | |
Public Function getNameFormDB() | |
Dim db As DAO.Database | |
Set db = CodeDb() | |
Dim name As String | |
name = db.name | |
Set db = Nothing | |
getNameFormDB = name | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment