For I:=0 to LB_1.Count-1 do
 begin
 if LB_1.Selected[I] then
  begin
  Jh:=Trim(Copy(LB_1.Items[I],0,13));
  Rq:=Trim(Copy(LB_1.Items[I],14,40));
  aq1.Close;
  aq1.SQL.Text:='select * from dca02 where Jh='''+Jh+'''';
  aq1.Open;
  aq2.Close;
  aq2.SQL.Text:='select * from jcs where Jh='''+Jh+'''';
  aq2.Open;
  if aq1.FieldByName('Jh').AsString=Jh then
    begin
    aq1.Edit;
    aq1.FieldByName('Rq').AsString:=aq2.FieldValues['Rq'];
    aq1.FieldByName('Cch').AsFloat:=StrToFloat(aq2.FieldValues['Cch']);
    aq1.FieldByName('Cci').AsFloat:=StrToFloat(aq2.FieldValues['Cci']);
    aq1.Post;
    end;
  end;
 end;我怎么也不能把mdb中的数据写到sql数据库中,原因可能 aq1.FieldByName('Jh').AsString=Jh  结果为FLASE   但我用同样的方法可以把sql数据中的数据写到mdb中   这是为什么?