我在数据窗口设置了查询条件,也在WHERE的地方设置了参数,可运行时,还是全部出来了,而不按条件出来,错在那里?
窗口open:dw_1.settransobject(SQLCA)
“打印预览”:
int i
if trim(ddlb_sjid.text) = "" then
messagebox("提示","请正确输入要查询的送检单号")
ddlb_sjid.setfocus()
return
end if
i=dw_1.Retrieve(ddlb_sjid.Text)
if (i=-1) then
MessageBox("错误","当前没有所需要查询数据!")
end if
RETRIEVE ARGUMENT设置了吗?
或者转换到convert to syntax,在语法格式下设置一下看看.