Kaydet (Commit) 7a7eb2c2 authored tarafından Jean-Pierre Ledure's avatar Jean-Pierre Ledure

Access2Base - FIX: flush external connections

Connections opened with DoCmd.OpenDatabase
were not flushed when closed explicitly.
Risk of data loss.
üst e593b623
......@@ -227,8 +227,11 @@ Const cstThisSub = "Database.Close"
mClose = False
If _DbConnect <> DBCONNECTANY Then Goto Error_NotApplicable
Connection.close()
Connection.dispose()
With Connection
.flush
.close()
.dispose()
End With
Set Connection = Nothing
mClose = True
......
......@@ -9,7 +9,7 @@ REM ============================================================================
Option Explicit
REM Access2Base -----------------------------------------------------
Global Const Access2Base_Version = "1.9.0"
Global Const Access2Base_Version = "6.2.0" ' Alignment on LibreOffice versions
REM AcCloseSave
REM -----------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment