S
sung
Unregistered / Unconfirmed
GUEST, unregistred user!
我用的数据库是access,我的代码是....
//if adoquery2.Active then adoquery2.Close;
//adoquery2.SQL.Clear ;
//adoquery2.SQL.Append('update YIQI set QOH=QOH+'+edit3.text+' where INO='''+edit1.text+'''');
//adoquery2.open;
是这个啦.这个sql语句不行,可以编译,但是会有bug... 字段QOH是数值型数据..INO是字符型的
//if adoquery2.Active then adoquery2.Close;
//adoquery2.SQL.Clear ;
//adoquery2.SQL.Append('update YIQI set QOH=QOH+'+edit3.text+' where INO='''+edit1.text+'''');
//adoquery2.open;
是这个啦.这个sql语句不行,可以编译,但是会有bug... 字段QOH是数值型数据..INO是字符型的