[ODBC-192] ODBC 3.0.6 VBA Error on Query Created: 2018-10-19 Updated: 2023-09-07 Resolved: 2018-10-31 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.0.6 |
| Fix Version/s: | 3.0.7, 2.0.19, 3.1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marcel Krausert | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
EXCEL 2016, MariaDB 10.3.8 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| 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:
As soon as I install Connector 3.0.5 everything works fine! Code snippet attached. |
| Comments |
| Comment by Lawrin Novitsky [ 2018-10-19 ] |
|
Thank you for your report. Do you mean that with 3.0.5 RecordCount wasn't -1? |
| Comment by Lawrin Novitsky [ 2018-10-19 ] |
|
Also, could you please provide your table structure. I tried your code with arbitrary table, and could not re-create the problems you described |
| Comment by Marcel Krausert [ 2018-10-20 ] |
|
With 3.0.6 using adUseServer -> Record Count -1 Same behaviour, might be correct, I'm not that deep into the stuff... With 3.0.6 using adUseClient -> E_FAIL Error I will post the Table structure later! |
| Comment by Marcel Krausert [ 2018-10-20 ] |
|
CREATE TABLE IF NOT EXISTS `myTable` |
| Comment by Lawrin Novitsky [ 2018-10-23 ] |
|
Thanks, I could get the error using your table definition. Next step is to fix it. |