S
studying
Unregistered / Unconfirmed
GUEST, unregistred user!
代码如下:
ADOQuery.close;
ADOQuery.SQl.add(select SUM(field1) from table1 where date>=:v_date1 and date<=:v_date2);
ADOQuery.parameters[0].value:=date_String1;
ADOQuery.parameters[1].value:=date_String2;
ADOQuery.open;
提示错误:
"ADO could not find the object in the collection corresponding to
the name or ordinal reference requested by the applicatoion"
ADO 连接没有问题.
ADOQuery.close;
ADOQuery.SQl.add(select SUM(field1) from table1 where date>=:v_date1 and date<=:v_date2);
ADOQuery.parameters[0].value:=date_String1;
ADOQuery.parameters[1].value:=date_String2;
ADOQuery.open;
提示错误:
"ADO could not find the object in the collection corresponding to
the name or ordinal reference requested by the applicatoion"
ADO 连接没有问题.