★
★蓝天★
Unregistered / Unconfirmed
GUEST, unregistred user!
在编程时,
with query1 do
begin close;
sql.clear;
sql.Add('select * from a where n6="T";');
open;
end;
while (not query1.IsEmpty) do
begin query1.Edit;
query1.FieldByName('N6').asstring:='n';
query1.Post; ..............
..................
当程序运行到 :query1.edit;时,出现如下错误:project project1.exe raised
exception class Edatabaseerror with message 'query1:cannot modify a read only
dataset'.process stopped.use step or run to continue 问为什么会这样,该怎么
解决?
with query1 do
begin close;
sql.clear;
sql.Add('select * from a where n6="T";');
open;
end;
while (not query1.IsEmpty) do
begin query1.Edit;
query1.FieldByName('N6').asstring:='n';
query1.Post; ..............
..................
当程序运行到 :query1.edit;时,出现如下错误:project project1.exe raised
exception class Edatabaseerror with message 'query1:cannot modify a read only
dataset'.process stopped.use step or run to continue 问为什么会这样,该怎么
解决?