请教大家,在dw里已经定义了两个变量,sql语句:select a,b,c from aa where a=:ls_a,b=ls_:b。我在程序里用dw.setsqlselect()改变sql语句为select a,b,c from aa where a="001"。但是在dw.retrieve()时还弹出输入变量对话框,为什么?怎么能去掉那两个变量?
...全文
1202打赏收藏
如何动态更改sql条件
请教大家,在dw里已经定义了两个变量,sql语句:select a,b,c from aa where a=:ls_a,b=ls_:b。我在程序里用dw.setsqlselect()改变sql语句为select a,b,c from aa where a="001"。但是在dw.retrieve()时还弹出输入变量对话框,为什么?怎么能去掉那两个变量?