ACC2002: CurrentDb.Name for a MDE showing MDB name

T

Tony_VBACoder

In my Access 2002 MDE database (MyTest.mde), I am using
the "CurrentDb.Name" to retrieve the name of the
database. However, for some reason it returns my MDB file
name (MyTest.mdb), not my MDE. I have put a messagebox in
my MDE code to trap the value returned, and for some
reason it is showing my MDB.

What am I doing wrong?
 
T

Tony_VBACoder

What I thought was happening was totally different. I was
able to solve this. When I went to convert my MDB to a
MDE, and my database restarted, I thought I was running my
MDE, when in fact, my MDB was reloaded and I was running
my MDB.

Sorry for this post.
 

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