?
Solved

Object doesn't support this property or method 'eof'

Posted on 2006-06-11
3
Medium Priority
?
1,618 Views
Last Modified: 2012-08-13
I have the following code which keeps throwing the error

Microsoft VBScript runtime  error '800a01b6'

Object doesn't support this property or method: 'eof'


Please help.

                  nString = "select name from seminar where seminarid = '" & vSeminarID & "'"                             
            
              RS=obj_conn.Execute(nString)
            
            if not (RS.eof and RS.bof) then
                 Do while not RS.eof
                 Response.write (RS("name"))
          RS.Movenext
                 Loop
            end if
              response.write (vSeminarID)
                  On Error Resume Next
                  obj_conn.Execute(vSQLString)
            end if
0
Comment
Question by:drai123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
sajuks earned 2000 total points
ID: 16883037
try changing
     RS=obj_conn.Execute(nString)
to
SET RS=obj_conn.Execute(nString)
0
 
LVL 20

Expert Comment

by:Gawai
ID: 16883241
where your DB connecting sting ?


0
 
LVL 20

Expert Comment

by:Gawai
ID: 16883250
and then try
If (RS.EOF = False) And (RS.BOF = False) Then  ' i think this line is not important here


Do while not RS.eof
                 Response.write (RS("name"))
          RS.Movenext
               Loop
          end if
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question