Y
yedixifeng
Unregistered / Unconfirmed
GUEST, unregistred user!
access数据库,两个表zhiyuan和zhiyuan1,彼此结构相同,想从zhiyuan1中把数据导入zhiyuan中,这段代码却不起作用。请帮忙看看,谢谢。
begin
with dm.qzhiyuan do
begin
close;
sql.Clear;
sql.Add('insert into zhiyuan (系统类别,系统编码,号码,PID,FName,Folder) select 系统类别,系统编码,号码,PID,FName,Folder from zhiyuan1');
end;
end;
begin
with dm.qzhiyuan do
begin
close;
sql.Clear;
sql.Add('insert into zhiyuan (系统类别,系统编码,号码,PID,FName,Folder) select 系统类别,系统编码,号码,PID,FName,Folder from zhiyuan1');
end;
end;