ACC2002: CurrentDb.Name for a MDE showing MDB name

  • Thread starter Thread starter Tony_VBACoder
  • Start date Start date
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?
 
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.
 
Back
Top