Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-192

ODBC 3.0.6 VBA Error on Query

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.0.7, 2.0.19, 3.1.0
    • Component/s: General
    • Labels:
      None
    • Environment:
      EXCEL 2016, MariaDB 10.3.8

      Description

      I downloaded and installed the MariaDB ODBC Driver 3.0.6 and installed it on my computer. Then I wrote a small piece of VBA in EXCEL 2016 which connects to the DB, which seems to work, and tries to query some entries.

      Here is where the problems start:

      • The recordset allways returns a RecordCount of -1
      • If I use CursorLocation adUseClient instead of asUseServer VBA throws the following error: Runtime error '-2147467259 (80004005)' ... returned Status E_FAIL

      As soon as I install Connector 3.0.5 everything works fine!

      Code snippet attached.

        Attachments

          Activity

            People

            Assignee:
            Lawrin Lawrin Novitsky
            Reporter:
            Marcel512 Marcel Krausert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration