charlotte49er
Programmer
I have an application in IIS called "flood_warn." In that directory I have a global.asa file with two includes:
However, when I try to open a recordset within an asp page I receive the error message "Variable is undefined: 'adOpenStatic'."
Here is the line of code in the asp page:
I have tried modifying 'adOpenStatic' to 'ADODB.adOpenStatic' with no luck. The code in the asp page itself is sound because if I move the includes into the page everything works as intended. Could anyone please provide some suggestions? Thanks.
Code:
<!--
METADATA TYPE="typelib"
FILE="C:\Program Files\Common Files\System\ADO\msado20.tlb"
-->
<!--
#include file="asp_scripts\ErrorHandler.asp"
-->
However, when I try to open a recordset within an asp page I receive the error message "Variable is undefined: 'adOpenStatic'."
Here is the line of code in the asp page:
Code:
theRS.open sqlStatement, oConn, adOpenStatic, adCmdTable
I have tried modifying 'adOpenStatic' to 'ADODB.adOpenStatic' with no luck. The code in the asp page itself is sound because if I move the includes into the page everything works as intended. Could anyone please provide some suggestions? Thanks.