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" ...@@ -227,8 +227,11 @@ Const cstThisSub = "Database.Close"
mClose = False mClose = False
If _DbConnect <> DBCONNECTANY Then Goto Error_NotApplicable If _DbConnect <> DBCONNECTANY Then Goto Error_NotApplicable
Connection.close() With Connection
Connection.dispose() .flush
.close()
.dispose()
End With
Set Connection = Nothing Set Connection = Nothing
mClose = True mClose = True
......
...@@ -9,7 +9,7 @@ REM ============================================================================ ...@@ -9,7 +9,7 @@ REM ============================================================================
Option Explicit Option Explicit
REM Access2Base ----------------------------------------------------- REM Access2Base -----------------------------------------------------
Global Const Access2Base_Version = "1.9.0" Global Const Access2Base_Version = "6.2.0" ' Alignment on LibreOffice versions
REM AcCloseSave REM AcCloseSave
REM ----------------------------------------------------------------- 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