Actions
Bug #2857
closedExtra message box displayed "About to update 1 row" on startup
Start date:
06/02/2007
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
2857
Description
This happens when confirmations are not yet up. To fix:
Public Function configureCancelBackupOnCloseFields(blnBackup As Boolean)
On Error Resume Next
'updates the option to not backup (or to allow backups) when database is closed
'useful to turn this off if compacting db or if backing up now
Dim rstTemp As New ADODB.Recordset
rstTemp.Open "SEKLECT * FROM backupOptions;", CurrentProject.Connection, adOpenForwardOnly, adLockOptimistic, adCmdText
If Not rstTemp.EOF Then
rstTemp!doNotBackupOnCloseOnce = Not blnBackup
rstTemp.Update
End If
rstTemp.Close
End Function
Actions