I'm trying to get a path to the folder where my mdb file is.
I don't want ot use an absolute path because this DB will be distributed to many employees.
For now I'm using :
Dim strcurrent As String
strcurrent = CurrentDb.Name
strcurrent = Replace(strcurrent, "DB.mdb", ""
Why App.Path gives me an error?
Do I need to set any library references?
I've set ADO 2.5
Thanks
I don't want ot use an absolute path because this DB will be distributed to many employees.
For now I'm using :
Dim strcurrent As String
strcurrent = CurrentDb.Name
strcurrent = Replace(strcurrent, "DB.mdb", ""
Why App.Path gives me an error?
Do I need to set any library references?
I've set ADO 2.5
Thanks