quick one...need vba internal variable name

  • Thread starter rfuscjr via AccessMonster.com
  • Start date
R

rfuscjr via AccessMonster.com

I need to reference the current data base name in some code. I would think
there is and internal variable that holds / knows it. Ex: I am working in
the Workdb. Is there an internal variable (DataBaseName or something similar)
I can use without explicitly setting DataBaseName = Workdb.

Much like Date() would return todays date.

Thanks!
 
D

Douglas J. Steele

What do you mean by "current data base name"?

The full path to the file is CurrentDb.Name
 

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

Top