S
Steve Stad
How can I open another access DB (eg., Database2) from a form in database1.
I think it would be easier to open a separate db (eg., Database2) vs
importing all of the queries, forms, reports into database1. I tried the
'run app' from a wizard. It builds this code - but I get error 'Invalid
procedure'. Also tried runApp in macro but get msg saying 'can not invoke
application using Run App action. Invalid path or component missing. I know
the path is correct - can you tell me what is missing?
Private Sub OpenCompletenessRep_Click()
On Error GoTo Err_OpenCompletenessRep_Click
Dim stAppName As String
stAppName = "G:\Tma\OCIO
Shared\C-WIP2-BU\DHIMS-BU\CompletenessDB_DHIMS_2010-04-15.mdb"
Call Shell(stAppName, 1)
Exit_OpenCompletenessRep_Click:
Exit Sub
Err_OpenCompletenessRep_Click:
MsgBox Err.Description
Resume Exit_OpenCompletenessRep_Click
end Sub
I think it would be easier to open a separate db (eg., Database2) vs
importing all of the queries, forms, reports into database1. I tried the
'run app' from a wizard. It builds this code - but I get error 'Invalid
procedure'. Also tried runApp in macro but get msg saying 'can not invoke
application using Run App action. Invalid path or component missing. I know
the path is correct - can you tell me what is missing?
Private Sub OpenCompletenessRep_Click()
On Error GoTo Err_OpenCompletenessRep_Click
Dim stAppName As String
stAppName = "G:\Tma\OCIO
Shared\C-WIP2-BU\DHIMS-BU\CompletenessDB_DHIMS_2010-04-15.mdb"
Call Shell(stAppName, 1)
Exit_OpenCompletenessRep_Click:
Exit Sub
Err_OpenCompletenessRep_Click:
MsgBox Err.Description
Resume Exit_OpenCompletenessRep_Click
end Sub