N
nigelb
Does anyone know how I can close an existing Access application and
automatically launch another one at the same time using code in a button
click event? The following code doesn´t seem to work...
Private Sub cmdClose_Click()
' Launch the new access application
Shell "MSACCESS.EXE " & sDestinationFolderFilename, vbNormalFocus
' Quit the existing application
DoCmd.Quit
End Sub
I´ve tried it with DoCmd.Quit before the Shell call, and after... and can´t
get it to work.
automatically launch another one at the same time using code in a button
click event? The following code doesn´t seem to work...
Private Sub cmdClose_Click()
' Launch the new access application
Shell "MSACCESS.EXE " & sDestinationFolderFilename, vbNormalFocus
' Quit the existing application
DoCmd.Quit
End Sub
I´ve tried it with DoCmd.Quit before the Shell call, and after... and can´t
get it to work.