N
neilw
Unregistered / Unconfirmed
GUEST, unregistred user!
with datamodule1 do begin
Table1.close;
batchmove1.Source:=datamodule1.Querys;
BatchMove1.Destination:=datamodule1.table1;
table1.tablename:='dbo.GRXXK';
BatchMove1.mode:=batAppendUpdate;
Table1.IndexDefs.Update;
//table1.indexname:='PK_GRXXK_1__10';
table1.indexfieldnames:='grbh';
BatchMove1.Execute;
end;
想要从querys把数据导到table1
执行到 BatchMove1.Execute
报错“destination must be indexed.”
Table1.close;
batchmove1.Source:=datamodule1.Querys;
BatchMove1.Destination:=datamodule1.table1;
table1.tablename:='dbo.GRXXK';
BatchMove1.mode:=batAppendUpdate;
Table1.IndexDefs.Update;
//table1.indexname:='PK_GRXXK_1__10';
table1.indexfieldnames:='grbh';
BatchMove1.Execute;
end;
想要从querys把数据导到table1
执行到 BatchMove1.Execute
报错“destination must be indexed.”