由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 为啥不能delete Excel记录???
相关主题
看来确实不能从程序里去删Excel Record[转载] MS SQL Server有没有一个C API?
run SQL stored procedure from python大家关于用VC透过ODBC来操作SQL数据库是什么看法?
how to include record deleted date into trigger?SQL server to ODBC export question
如何让SQL 2005 CLR Trigger返回结果给Stored Procedure用?有人抽取过AS/400(iSeries)的数据么?
how to link to remote access database?One question!
[转载] ASP问题: Operation must use an updateable queryRe: How to create a MS Access Database File using DAO in vc++???
[Help]怎么改Access数据库所在的文件夹权限?Powerbuilder SaveAs excel file
大俠 问个关于asp连SQL server的问题Excel连数据库问题
相关话题的讨论汇总
话题: excel话题: delete话题: 记录话题: deleting
进入Database版参与讨论
1 (共1页)
o******r
发帖数: 259
1
用CDaoDatabase打开Excel 文件,
update记录都可以,
偏偏delete就出exception,
DAO Call Failed.
m_pDAODatabase->Execute( V_BSTR(&var), COleVariant((long)nOptions))
In file daocore.cpp on line 1544
scode = 800A0E21
Error Code = 3617
Source = DAO.Database
Description = Deleting data in a linked table is not supported by this ISAM.
难道设计这个接口的人就从来没想过有可能要delete一条记录吗?
数据记录都放在一个Excel文件里,
在VC里用CDaoDatabase/CDaoRecordset去查询,更新
有什么办法吗?
o******r
发帖数: 259
2
发现跟Dao没有关系,
试着直接用ODBC,用excel file做data source
update还是可以,
但delete 一条记录时,报错
“Deleting data in a linked table is not supported by this ISAM.
State:S1000,Native:-5410,Origin:[Microsoft][ODBC Excel Driver]”
Microsoft网站上,同样的报错出现在delete csv database
If you are deleting records:
Database Results Error
"Description: [Microsoft][ODBC Text Driver] Deleting data in a linked tab
le is not supported by this ISAM.
Number: -2147467259 (0x80004005)
Source: Microsoft OLE DB Provider for ODBC Drivers"
解释是:
The OD

【在 o******r 的大作中提到】
: 用CDaoDatabase打开Excel 文件,
: update记录都可以,
: 偏偏delete就出exception,
: DAO Call Failed.
: m_pDAODatabase->Execute( V_BSTR(&var), COleVariant((long)nOptions))
: In file daocore.cpp on line 1544
: scode = 800A0E21
: Error Code = 3617
: Source = DAO.Database
: Description = Deleting data in a linked table is not supported by this ISAM.

o******r
发帖数: 259
3
换成access file就能删了,
nnd

【在 o******r 的大作中提到】
: 发现跟Dao没有关系,
: 试着直接用ODBC,用excel file做data source
: update还是可以,
: 但delete 一条记录时,报错
: “Deleting data in a linked table is not supported by this ISAM.
: State:S1000,Native:-5410,Origin:[Microsoft][ODBC Excel Driver]”
: Microsoft网站上,同样的报错出现在delete csv database
: If you are deleting records:
: Database Results Error
: "Description: [Microsoft][ODBC Text Driver] Deleting data in a linked tab

1 (共1页)
进入Database版参与讨论
相关主题
Excel连数据库问题how to link to remote access database?
SQL Server stupid questions[转载] ASP问题: Operation must use an updateable query
smartway's article is deleted[Help]怎么改Access数据库所在的文件夹权限?
how to delete log大俠 问个关于asp连SQL server的问题
看来确实不能从程序里去删Excel Record[转载] MS SQL Server有没有一个C API?
run SQL stored procedure from python大家关于用VC透过ODBC来操作SQL数据库是什么看法?
how to include record deleted date into trigger?SQL server to ODBC export question
如何让SQL 2005 CLR Trigger返回结果给Stored Procedure用?有人抽取过AS/400(iSeries)的数据么?
相关话题的讨论汇总
话题: excel话题: delete话题: 记录话题: deleting