rt.
我用access 数据库,在运行时手动生成adoquery.设置
ConnectionString :=
'Provider=Microsoft.Jet.OLEDB.4.0;Password="";Data Source=tk.mdb;' +
'Mode=ReadWrite|Share Deny None;Persist Security Info=True';
CursorLocation := clUseClient;
CursorType := ctStatic;
.然后让该adoquery执行一个"select top 10 from table order by id"总是出错.用"select * from table"就没问题.
为什么?adoquery还有哪些select 语句不能执行呢?
我用access 数据库,在运行时手动生成adoquery.设置
ConnectionString :=
'Provider=Microsoft.Jet.OLEDB.4.0;Password="";Data Source=tk.mdb;' +
'Mode=ReadWrite|Share Deny None;Persist Security Info=True';
CursorLocation := clUseClient;
CursorType := ctStatic;
.然后让该adoquery执行一个"select top 10 from table order by id"总是出错.用"select * from table"就没问题.
为什么?adoquery还有哪些select 语句不能执行呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货