|
-
Jun 12th, 2001, 12:09 PM
#1
Thread Starter
Frenzied Member
Random ASP Error
Okay, this is the wrong way to ask a question, but it is upsetting me greatly.
This is the code
Code:
Private Function RTAverage (ByVal strMonitor, ByVAl date, ByVal MonitorDB)
dim SQL, RS
dim arrNodes
SQL = "SELECT Node " & _
"FROM MonitorNode " & _
"WHERE Monitor = '" & strMonitor & "'"
Set RS = MonitorDB.Execute(SQL)
if RS.EOF then
RTAverage = ""
else
set arrNodes = RS.GetRows()
dim currNode
for currNode = 0 to UBound(arrNodes, 1)
RTAverage = RTAverage + RTAverage(strMonitor, arrNodes(currNode), date, MonitorDB)
next 'Node
end if
End Function
I am getting a "Object required" error on line 72 of the file, which is the set arrNodes = RS.GetRows() line.
What object is required? Any debug ideas to help me figure out why this code isn't working?
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|