sqlstr:='update qrytable set wei='+ et4.Text+'where spec ='+#39+cb1.Text+#39 ;在表里,wei is float,spec is string当我用
with clientdataset1 do
begin
close;
commandtext:=sqlstr;
excute;
end
执行时老是提示我missing sql property!是不是这个语句本身有问题啊?
with clientdataset1 do
begin
close;
commandtext:=sqlstr;
excute;
end
执行时老是提示我missing sql property!是不是这个语句本身有问题啊?
SQL.SaveToFile
你自己看一看是什么错误,ok?
--------------------------------------------
您对delphi感兴趣吗?呵呵,有请
www.nxit.net/bbs
我们一起交流,一起飞
begin
close;
SQL.clear;
SQL.add(sqlstr);
excute;
end看见没!
你的 wei字段应是个字符串类型,所以在 sql语句中应该是
wei='xxxx',写在delphi中就应该是象 neweb说的那样了