' set the local arguments
' for this report the args are the stored procedure call
response.write rptVarReportsArgs
Set oRs = oConn.Execute(rptVarReportsArgs)
If Not oRs.EOF Then
wscript.echo "Control is in if condition"
ProdInvAry_nvi = oRs.GetRows()
CtrField = uBound(ProdInvAry_nvi, 1)
TotalRecs = uBound(ProdInvAry_nvi, 2)+1
Else
wscript.echo "Control is in else condition"
ProdInvAry_nvi = ""
End If
oRs.Close
我在运行脚本和控制时遇到这个错误
Set oRs = oConn.Execute(rptVarReportsArgs)
这一行没有执行,也没有从函数中获取记录ProdInvAry_nvi = oRs.GetRows()
我需要帮助解决这个错误。谢谢