Author Topic: [SOLVED] Lazarus + MS Access  (Read 13906 times)


  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Lazarus + MS Access
« Reply #15 on: December 05, 2012, 09:42:06 am »
Then i set AUTOCOMMIT = 0 in the transaction and not the connection (it seemed like the right place) and did not work. Putting back the parameter in connection with the correct  compilation everything works correctly. Thank you.


I think that this issue can be closed.
Glad it works.
1. AUTOCOMMIT sets the ODBC driver's AUTOCOMMIT mode using SQL_ATTR_AUTOCOMMIT: So it applies to connections/drivers not to transactions. This fits in with the SQLDB concept that AFAIR allows multiple transaction objects per connection (though not all connectors support/honour this).
2. Yes, I know about the bug report ;) Just wanted to make sure first the fix is backported to 2.6.2 if possible so we don't get divergent behaviour.
Want quicker answers to your questions? Read

Open source including papertiger OCR/PDF scanning:

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified


TinyPortal © 2005-2018