W
wen_one
Unregistered / Unconfirmed
GUEST, unregistred user!
各位大哥,小弟用adoquery时,将adoquery的sql赋值如下
select * from S_PublicDetail where (flag=1 and signtype=:typesign) or (mainbillno=:Mainbillno and signtype=:no)
如即在ide环境里,将adoquery的Active设为true没有错.
然后按f9运行时,adoquery.open却出错了,出错信息为:
"argument are of the wrong type,are out of acceptable range,or are in conflict
with one another",赋值是依照顺序:7,'123456789',7
请问各位是什么原因。谢谢紧救。
select * from S_PublicDetail where (flag=1 and signtype=:typesign) or (mainbillno=:Mainbillno and signtype=:no)
如即在ide环境里,将adoquery的Active设为true没有错.
然后按f9运行时,adoquery.open却出错了,出错信息为:
"argument are of the wrong type,are out of acceptable range,or are in conflict
with one another",赋值是依照顺序:7,'123456789',7
请问各位是什么原因。谢谢紧救。