Solved

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

Posted on 2006-06-11
3
1,536 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Choose the older file FSO 6 50
Issues with Insert statement 12 29
Syntax for query to update table 2 29
Insert Button on a table 16 38
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

829 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