Create MDE from VBA 
Author Message
 Create MDE from VBA

Need to create an MDE from VBA/VB code.

Microsoft recommends using sendkeys(!!),
but I need to create an mde from a database
the network while using a local database using
oode only i.e. no user involvement.

This is a very small databsae, with only one
table, but it needs to be created with a unique
name and placed in a different folder on the network
on a regular basis.



Wed, 20 Jul 2005 06:51:37 GMT  
 Create MDE from VBA

Quote:

> Need to create an MDE from VBA/VB code.

> Microsoft recommends using sendkeys(!!),
> but I need to create an mde from a database
> the network while using a local database using
> oode only i.e. no user involvement.

> This is a very small databsae, with only one
> table, but it needs to be created with a unique
> name and placed in a different folder on the network
> on a regular basis.

Answered in comp.databases.ms-access but here is a copy:

SysCmd 603, <source .MDB database>, <destination .MDE database>

SysCmd 603, "C:\TEMP\TEST.MDB", "C:\TEMP\TEST.MDE"

Note: might not work in A2002; can't verify but works in previous versions.

--
'-------------------------------
' John Mishefske
'-------------------------------



Wed, 20 Jul 2005 07:18:34 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Create MDE from VBA

2. MDE 2 MDE

3. How do you create .mde?

4. Create MDE with Access 97 / 2002 problem

5. On creating .mde, error 40230

6. Access 2000: Create and save add-in/mda and mde files

7. create mde question

8. unable to create mde

9. Creating .mde file

10. how to create an .MDE file from a utility (library) .MDB

11. Microsoft Access unable to create an MDE database

12. Error in VBA332.dll when creating MDE

 

 
Powered by phpBB® Forum Software