不是很难的问题,在线=(关于query)
b5v6 2003-09-13 06:37:31 Query2.SQL.Clear;
Query2.sql.Text:='update GZSJK.DBF set bj=jg/22*bjt*0.35 where bjt<>0 and gl<=10';
query2.ExecSQL;
table2.Refresh;
query2.SQL.Clear;
query2.SQL.Text:='update GZSJK.DBF set bj=jg/22*bjt*0.25 where bjt<>0 and(gl>10 or gl<20)' ;
query2.ExecSQL;
table2.Refresh;
query2.SQL.Clear;
query2.SQL.Text:='update gzsjk.dbf set bj=jg/22*bjt*0.15 where bjt<>0 and (gl>=20 or gl<30 ';
query2.ExecSQL;
我这段语句怎么老报错呢不知道为什么?????