另外,单表查询时,以下例子是正确的。大家帮我up呀!! Query1.Close;
Query1.SQL.Clear;
Query1.SQL.Add('select * from book');
Query1.SQL.Add('where 书号=:sbookstore');
query1.ParamByName('sbookstore').Asstring:= edit1.text;
Query1.PREPARE;
Query1.ExecSQL;
Query1.Active:=True;
edit1.text:='';
Query1.SQL.Clear;
Query1.SQL.Add('select * from book');
Query1.SQL.Add('where 书号=:sbookstore');
query1.ParamByName('sbookstore').Asstring:= edit1.text;
Query1.PREPARE;
Query1.ExecSQL;
Query1.Active:=True;
edit1.text:='';
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货