比如
cmd.CommandText = "UPDATE {AAAAAFX} SET prepprice1=" & r("prepprice1") & "*unitrate,prepprice2=" & r("prepprice2") & "*unitrate where wareid='" & r("selfid") & "'And unitrownumber=2"