Current database name

S

Sarah

Does anyone know how to find the current database name using code? I know
how to find the path:

Application.CurrentProject.Path

Thanks,

Sarah
 
K

kingston via AccessMonster.com

Application.CurrentProject.Name
Does anyone know how to find the current database name using code? I know
how to find the path:

Application.CurrentProject.Path

Thanks,

Sarah
 
S

Sarah

I've tried that and it doesn't give me the full path location. It gives the
path that my windows explorer is set to... don't ask me why. It just does.

Any other alternatives?

Thanks,

Sarah
 
K

kingston via AccessMonster.com

Is this what you're looking for?

string = Application.CurrentProject.Path & "\" & Application.CurrentProject.
Name
I've tried that and it doesn't give me the full path location. It gives the
path that my windows explorer is set to... don't ask me why. It just does.

Any other alternatives?

Thanks,

Sarah
Application.CurrentProject.Name
[quoted text clipped - 6 lines]
 
K

kingston via AccessMonster.com

CurrentProject.FullName
I've tried that and it doesn't give me the full path location. It gives the
path that my windows explorer is set to... don't ask me why. It just does.

Any other alternatives?

Thanks,

Sarah
Application.CurrentProject.Name
[quoted text clipped - 6 lines]
 
Top