Good day all,
I have read quite a few threads about backing-up DB's, but have not come across any coding that specifically shows you how to back-up a DB to CD. Maybe someone can point me in the right direction.
I have a simple db (not split into FE/BE) and I want to allow a user to copy the current DB to a CD. On my main form I have the following coding on my EXIT button, but I also want to incorporate some code to allow the user an option to save the DB to CD at end-of-day:-
Private Sub exit__Click()
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = True
Next i
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
DoCmd.Quit
End Sub
Any help will be greatly received.
Regards,
PAUL.
I have read quite a few threads about backing-up DB's, but have not come across any coding that specifically shows you how to back-up a DB to CD. Maybe someone can point me in the right direction.
I have a simple db (not split into FE/BE) and I want to allow a user to copy the current DB to a CD. On my main form I have the following coding on my EXIT button, but I also want to incorporate some code to allow the user an option to save the DB to CD at end-of-day:-
Private Sub exit__Click()
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = True
Next i
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
DoCmd.Quit
End Sub
Any help will be greatly received.
Regards,
PAUL.