if not caipintemp.Locate('caipinid',querycaipin.FieldValues['caipinid'],[loCaseInsensitive]) then
begin
...........
end
else
begin
qry2.Close;
qry2.SQL.Clear;
qry2.SQL.Add('select * from a where b_bqty=1);
qry2.Open;
caipintemp.Locate('caipinid',qry2.FieldValues['id'],[loCaseInsensitive]);
//我这里怎么可以把caipintemp.Locate的数据进行转移呢?
if not caipintemp.Locate('caipinid',qry2.FieldValues['id'],[loCaseInsensitive]) then
begin
...................
end;
end;
end;
好像不能实现??