| |
gcorlis
Posts: 2
Score: 0
Joined: 2/21/2003
From: USA
Status: offline
|
I continue to receive the above error when the following code executes. function print_page_title() strSQL = "SELECT Courses.CourseName FROM Courses WHERE Not Courses.CourseName Is Null" set rsTmp = Server.CreateObject("ADODB.Recordset") rsTmp.Open strSQL, fp_conn, 3, 1, &H0001 if rsTmp.RecordCount > 0 then print_page_title = rsTmp("CourseName") else print_page_title = "Survey and assessment" end if rsTmp.close set rsTmp = nothing end function I have the ado file included in the code so I don't believe that is the problem. (i.e. )
|
|