J
jj
Hi ng
I use the following code to create a MDE file from vba. I have office 2003,
but the database is build in Access 2000. It works fine on my computer. But
when I run the code on a machine with Access 2000 - it does not work - any
ideas?
TIA
jj
The code:
Function CreateMDEDatabase(strDB As Variant)
Dim a As New Access.Application
Dim strMDE As String
strMDE = Left(strDB, Len(strDB) - 3) & "mde"
a.SysCmd 603, strDB, strMDE
Set a = Nothing
End Function
I use the following code to create a MDE file from vba. I have office 2003,
but the database is build in Access 2000. It works fine on my computer. But
when I run the code on a machine with Access 2000 - it does not work - any
ideas?
TIA
jj
The code:
Function CreateMDEDatabase(strDB As Variant)
Dim a As New Access.Application
Dim strMDE As String
strMDE = Left(strDB, Len(strDB) - 3) & "mde"
a.SysCmd 603, strDB, strMDE
Set a = Nothing
End Function