J
jojo
Hello,
I have an error: Microsoft VBScript runtime error '800a000d'
Type mismatch: 'OpenDB' and it says to go line 4 on the page with the error
here are the 1st 4/5 lines of code that I have
<%
If Request.Form("Operation") <> "Create" AND Request.Form("Operation") <>
"Edit" And Request.Form("Operation") <> "Print" Then
Call OpenDB(SQLConn)
Set RS = Server.CreateObject("ADODB.RecordSet")
'----- Find Number of questions
tempQuestionCount = SQLConn.Execute("Select Count(ID) From PM_Questions")
Session("QuestionCount") = tempQuestionCount(0)
Line 4 is Call OpenDB(SQL Conn)
Do you know what can be the problem ?
I have an error: Microsoft VBScript runtime error '800a000d'
Type mismatch: 'OpenDB' and it says to go line 4 on the page with the error
here are the 1st 4/5 lines of code that I have
<%
If Request.Form("Operation") <> "Create" AND Request.Form("Operation") <>
"Edit" And Request.Form("Operation") <> "Print" Then
Call OpenDB(SQLConn)
Set RS = Server.CreateObject("ADODB.RecordSet")
'----- Find Number of questions
tempQuestionCount = SQLConn.Execute("Select Count(ID) From PM_Questions")
Session("QuestionCount") = tempQuestionCount(0)
Line 4 is Call OpenDB(SQL Conn)
Do you know what can be the problem ?