Deleting macro by code

  • Thread starter Thread starter PaulB
  • Start date Start date
P

PaulB

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!
 
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.
 
Yes, the switchboard form contains code to prevent the BE-database to be
openend. Nothing more, nothing less.
 

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