A backend database is not a good place to have code running, unless it is
code to keep users from opening the backend by itself. You should delete
that and move it to the front end.
--
Lynn Trapp
Microsoft MVP (Access)
www.ltcomputerdesigns.com
"PaulB" <(E-Mail Removed)> wrote in message
news:45747cb6$0$14699$(E-Mail Removed)...
> Hello All,
>
> How can I delete a macro in my BE-database by running code in the
> FE-database?
> This BE-database has a switchboard form which opens when the BE-database
> is opened. Because there's code behind this form which should *not* run,
> using "accObj.OpenCurrentDatabase BE-database.mde" as a new new
> application is not possible.
> Is there any other pssibility?
>
> Thanks in advance!