A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Creating an MDE database in code



 
 
Thread Tools Display Modes
  #1  
Old March 11th, 2010, 08:48 PM posted to microsoft.public.access
Blondie
external usenet poster
 
Posts: 21
Default Creating an MDE database in code

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?
  #2  
Old March 12th, 2010, 04:20 AM posted to microsoft.public.access
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default Creating an MDE database in code

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

How about:
RunCommand acCmdMakeMDEFile

-Tom.
Microsoft Access MVP


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?

  #3  
Old March 13th, 2010, 05:24 PM posted to microsoft.public.access
De Jager
external usenet poster
 
Posts: 393
Default Creating an MDE database in code


"Blondie" wrote in message
...
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?


  #4  
Old March 15th, 2010, 08:31 AM posted to microsoft.public.access
david
external usenet poster
 
Posts: 398
Default Creating an MDE database in code

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)


"Tom van Stiphout" wrote in message
news
On Thu, 11 Mar 2010 12:48:01 -0800, Blondie
wrote:

How about:
RunCommand acCmdMakeMDEFile

-Tom.
Microsoft Access MVP


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?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.