vincent2016
string sqlstr="select sum(DWL) from WorkRecord where DN='AGV' AND DOf<='"+\\本站点\FR+"' and DOn>='"+\\本站点\TR+"'";
SQLSetStatement( DeviceID,sqlstr);
接下来怎么写,才能读取sql语句返回的值,再赋值给组态王的内存变量?