F
Frank Krogh
I have made command button on a form with the following VB code:
Private Sub Avslutt_Click()
Application.CloseCurrentDatabase
Dim objAccess As Object
'objAccess.Visible = True
MsgBox "Microsoft Access is open; this procedure will now close it."
objAccess.Quit
Set objAccess = Nothing
End Sub
Excecuting this code closes the current database, but leaves the Access
program still running. Why?
Any suggestions?
Frank Krogh
Private Sub Avslutt_Click()
Application.CloseCurrentDatabase
Dim objAccess As Object
'objAccess.Visible = True
MsgBox "Microsoft Access is open; this procedure will now close it."
objAccess.Quit
Set objAccess = Nothing
End Sub
Excecuting this code closes the current database, but leaves the Access
program still running. Why?
Any suggestions?
Frank Krogh