Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I connect to an Excel spreadsheet using Microsoft Excel Driver (*.xls)
4.00.6305.00 successfully and I am able to create a new table and insert data into the the new table and retrieve the inserted new data successfully. On closing the application however, the new table and its data are gone and the spreadsheet is never updated. Seems like everything is done in memory. I am using autocommit mode and issuing an ODBC SQLEndTran/SQL_COMMIT after both creating the table and inserting the data, as usaul and that works fine with all other ODBC data sources but not the Excel ODBC data source. What am I missing? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Correction: I am actually not calling SQLEndTran because the driver reports
it does not support transactions |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
OK. I found out the cause of this issue was a code path that skipped calling
::SQLDisconnect before freeing connection handle. Now it all works |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
64 bit ODBC driver for Excel (Server 2008) | Excel Discussion (Misc queries) | |||
ODBC Microsoft Access Driver Login Failed - Excel 2003 | Excel Discussion (Misc queries) | |||
Free XML ODBC driver for EXCEL | Excel Discussion (Misc queries) | |||
ODBC Driver/Import Data | Excel Discussion (Misc queries) | |||
xl odbc driver, Excel 2003 | Setting up and Configuration of Excel |