Hi all,
I've used this function to get the MsAccess database name :
Function GetDbName()
'Returns the filename of the currently opened MDB
GetDbName = CurrentProject.Name
End Function
and it worked. But the database name is in this format : ThisIsTheDatabaseName.mdb. The problem is that it returns this in all lowercasing : thisisthedatabasename.mdb.
Can anyone give me a method to return in the same format lowercase & uppercase as the file name ?
Thanks,
Doris
I've used this function to get the MsAccess database name :
Function GetDbName()
'Returns the filename of the currently opened MDB
GetDbName = CurrentProject.Name
End Function
and it worked. But the database name is in this format : ThisIsTheDatabaseName.mdb. The problem is that it returns this in all lowercasing : thisisthedatabasename.mdb.
Can anyone give me a method to return in the same format lowercase & uppercase as the file name ?
Thanks,
Doris