open another dbase in access runtime mode

mazza

Registered User.
Local time
Today, 09:40
Joined
Feb 9, 2005
Messages
101
I have a database that users run in MSAccess Runtime

I have a sub that opens another database. It runs OK when I am using access 2000/3 the normal way, but won't play ball when in runtime

Is there a way I can open that other Dbase in Runtime as well?

Dim accapp As Access.Application
Dim appname As String
Set accapp = New Access.Application
appname = "c:\programme\compair service management\AutoBackUp.mdb"
accapp.OpenCurrentDatabase (appname)
accapp.Visible = True
 

Users who are viewing this thread

Back
Top Bottom