Current database name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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

Application.CurrentProject.Path

Thanks,

Sarah
 
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
 
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
 
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]
 
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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top