jcaptchaos2
Well-known Member
- Joined
- Sep 24, 2002
- Messages
- 1,032
- Office Version
- 365
- Platform
- Windows
Hello,
I have this code that I am trying to open a form on another database with, I thought I had it working but now when I run it all I get is a flash like it tried to open and then nothing.
I have this code that I am trying to open a form on another database with, I thought I had it working but now when I run it all I get is a flash like it tried to open and then nothing.
Code:
Private Sub openvac_Click()
Dim appAccess As Access.Application
Set appAccess = CreateObject("Access.Application")
appAccess.OpenCurrentDatabase "N:\HR\Fishbowl Payroll\Missing Time.accdb"
appAccess.DoCmd.OpenForm "missingtimetbl"
Set appAccess = Nothing
End Sub