N
NewHuman
Unregistered / Unconfirmed
GUEST, unregistred user!
我再利用ADOQuery对access数据库进行操作,为了减少控件,我使用一个ADOQuery。
运行会出现
“raised exception class EAccessViolation with message 'Access
violation at address 1F453E7E in module 'msado15.dll',write of
address 0147A000'”的错误提示
请诸位大侠指教!我将不胜感激!
with ADOQuery1 do
begin
Close ;
Sql.Clear ;
Sql.Text := 'select * from users ';
Open;
end;
with ADOQuery1 do
begin
Close ;
Sql.Clear ;
Sql.Text := 'delete from users where name=''aa''';
ExecSql;
end;
运行会出现
“raised exception class EAccessViolation with message 'Access
violation at address 1F453E7E in module 'msado15.dll',write of
address 0147A000'”的错误提示
请诸位大侠指教!我将不胜感激!
with ADOQuery1 do
begin
Close ;
Sql.Clear ;
Sql.Text := 'select * from users ';
Open;
end;
with ADOQuery1 do
begin
Close ;
Sql.Clear ;
Sql.Text := 'delete from users where name=''aa''';
ExecSql;
end;