update tljt.dbo.f_pzdjdan set xs=xs+xs*strtofloat(edit1.text)
------解决方案--------------------
strtofloat 这个是做什么。。。
------解决方案--------------------
sql= 'update tljt.dbo.f_pzdjdan set xs=xs+xs* '+strtofloat(edit1.text)
------解决方案--------------------
try
string strSQL= "update tljt.dbo.f_pzdjdan set xs=xs+xs* " + strtofloat(edit1.text)
------解决方案--------------------
是在delphi中的吧
------解决方案--------------------
应该是这样吧
"update tljt.dbo.f_pzdjdan set xs=xs+xs* " + strtofloat(edit1.text)
------解决方案--------------------
hejiahuanle() ( ) 信誉:100 Blog 加为好友 2007-06-11 17:25:36 得分: 0
sql.Add( 'update tljt.dbo.f_pzdjdan set xs=xs+xs* '+strtofloat(edit1.Text) where bmmc= ' ' '+trim(combobox1.Text)+ ' ' ' and gz= ' ' '+trim(combobox3.Text)+ ' ' ' ');
还是报错
--------------
try
sql.Add( "update tljt.dbo.f_pzdjdan set xs=xs+xs* " + strtofloat(edit1.text) + " where bmmc= ' "+trim(combobox1.Text)+ " ' and gz= " '+trim(combobox3.Text)+ " ' ");