Creating an MDE database in code

B

Blondie

I have arequirement to send out a database to be used by other personnel,
this database creates other databases for clients, I want the Client
databases created to be mde's so that no one can go in and mess with the code
or forms. Any ideas?
 
T

Tom van Stiphout

On Thu, 11 Mar 2010 12:48:01 -0800, Blondie

How about:
RunCommand acCmdMakeMDEFile

-Tom.
Microsoft Access MVP
 
D

De Jager

Blondie said:
I have arequirement to send out a database to be used by other personnel,
this database creates other databases for clients, I want the Client
databases created to be mde's so that no one can go in and mess with the
code
or forms. Any ideas?
 
D

david

Never used to work. Does it work now? What version of Access?

(Never used to work because it runs on the Current database,
but the first part of making an MDE is close the Current database)

Old way of doing it was:

SysCmd 603, mdbFile, mdeFile

Where mdbFile is NOT CurrentDB. That can be run from a
script or from inside another Access application.

(david)
 

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