注册 登录
编程论坛 Delphi论坛

这样的update也有错?

eopenxie 发布于 2007-08-13 16:31, 748 次点击

"update kuchun set "+
"库存数量= " " " + dm.ADOQueryclient.fieldbyname( "库存数量 ").AsString + " " ", "+
"发货数量= " " " + dm.ADOQueryclient.fieldbyname( "产品数量 ").AsString + " " ", "+
"库存产品= " " " + dm.ADOQueryclient.fieldbyname( "出货品种 ").AsString + " " ", "+
"发货时间= " " " + dm.ADOQueryclient.fieldbyname( "发货时间 ").AsString + " " ", "+
"目的港= " " " + dm.ADOQueryclient.fieldbyname( "目的港 ").AsString + " " ", "+
"已发货数量= " " " + dm.ADOQueryclient.fieldbyname( "已发货数量 ").AsString+ " " " "+
"where " +
"客户名称 "= " " "+dm.ADOQueryclient.fieldbyname( "客户名称 ").asstring+ " " " "

总是提示说语法错误,不知为何。请指点!谢谢!

1 回复
#2
xu20002007-08-16 03:16
全是双引号?
1