Solved

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

Posted on 2006-06-11
3
1,504 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
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
sajuks earned 500 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now