今天解决了,原来是用"fckbbtable.batchmove(kctable, batappend)",后来用 editquery.close; editquery.open; kctable.first; while not kctable.eof do begin editquery.append; for iCount:=0 to kctable.fieldcount-1 do begin lField:=editquery.FindField(kctable.fields[iCount].FieldName); if lField<>nil then lField.Value:=kctable.fields[iCount].Value ; end; editquery.post; kctable.next; end; editquery.ApplyUpdates; editquery.CommitUpdates ; 这是第一次提问题,谢谢 yansea(思宏)
editquery.open;
kctable.first;
while not kctable.eof do
begin
editquery.append;
for iCount:=0 to kctable.fieldcount-1 do
begin
lField:=editquery.FindField(kctable.fields[iCount].FieldName);
if lField<>nil then
lField.Value:=kctable.fields[iCount].Value ; end;
editquery.post;
kctable.next;
end;
editquery.ApplyUpdates;
editquery.CommitUpdates ; 这是第一次提问题,谢谢 yansea(思宏)