I've got stuck in the middle of an app with the isOpen() method. I'm using VBScript to create the ASP and one of the recordsets used on the page is only opened conditionally on parameters passed to the page.
Writing tidy code, I put in a rs2.close at the end of the script and when run it rightly it points out it can't close and object that's not been opened!
So I put in a condition
but I then get:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'isOpen'
/report_selection.asp, line 151
Heyulp!!!
Writing tidy code, I put in a rs2.close at the end of the script and when run it rightly it points out it can't close and object that's not been opened!
So I put in a condition
Code:
if rs2.isOpen()=True then
rs2.close
end if
but I then get:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'isOpen'
/report_selection.asp, line 151
Heyulp!!!