How can I fix this Error ?
I am writing Windows App.
Error[HY000][Micorsoft][ODBC Excel Driver] Operation must use an updateable query
I have checked sql command text. It OK.
Please help me solve this problem !
Thanks in advance !
I have checked sql command text. It OK.
Please help me solve this problem !
Thanks in advance !
Usually you get this error when the xls file (or the odbc data source) is read only. When you create the ODBC data source in the Select Workbook dialog you have a Read Only checkbox that is checked by default. Uncheck it and try again.
If I use OledbConnection it OK.
Please tell me what this problem is.
Thanks!
Add ReadOnly=false to your connection string like this:
"driver={microsoft excel driver (*.xls)};dbq=D:\Study\Delphi\Check\Excel Files\MemberList.xls;ReadOnly=false"