Project

General

Profile

Actions

Bug #2857

closed

Extra message box displayed "About to update 1 row" on startup

Added by Michael Lee almost 17 years ago. Updated almost 17 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
EntryDB
Target version:
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

Also available in: Atom PDF