用CREATE TABLE ,DROP TABLE,INSERT INTO命令时显示error creating cursor ha

L

lihouqi

Unregistered / Unconfirmed
GUEST, unregistred user!
用CREATE TABLE ,DROP TABLE,INSERT INTO命令时显示error creating cursor handle"不知这是为何?(50分)<br /> 各位大侠:
我用CREATE TABLE ,DROP TABLE,INSERT INTO命令时执行结果都能得到(创建表,插入值都存在),但是总显示一个BDE错误“error creating cursor handle"不知这是为何?我的SQL如下
q1.sql.add('create table "d:/tempdata/tempt.db" (kb char(10),gzm char(18) )');
q1.open;
q1.sql.add('insert into "d:/tempdata/tempt.db" values("bak","jisi")');
q1.open
 
用q1.execsql不是q1.open

除了select用open,其他修改纪录的用execsql
 
接受答案了.
 

Similar threads

I
回复
0
查看
517
import
I
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
610
import
I
I
回复
0
查看
723
import
I
顶部