Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-06-2002, 10:50 AM   PM User | #1
Darksbane
New Coder

 
Join Date: Jun 2002
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Darksbane is an unknown quantity at this point
viewing results of query problem

Hi,

I am trying to view the results of a query. Some snippets of my code:

SQL = "SELECT * FROM "& ptype &" WHERE pallet_no = 'US337+" & pal &"'

RS = DBconn.Execute(SQL)"


Now when I try to say something like RS.EOF, or RS. anything it gives me the error:

"Object doesn't support this property or method: 'EOF' "

Is there something I am missing?

Any help would be appreciated

Darksbane
Darksbane is offline   Reply With Quote
Old 08-06-2002, 02:57 PM   PM User | #2
Darksbane
New Coder

 
Join Date: Jun 2002
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Darksbane is an unknown quantity at this point
Figured it out should have had

SET RS = DBconn.Execute(SQL)
Darksbane is offline   Reply With Quote
Old 08-06-2002, 02:57 PM   PM User | #3
Roy Sinclair
Senior Coder

 
Join Date: Jun 2002
Location: Wichita
Posts: 3,880
Thanks: 0
Thanked 0 Times in 0 Posts
Roy Sinclair will become famous soon enough
Did you create RS as a recordset object? If not then it's still just an ordinary variant.

set RS = System.CreateObject("ADODB.Recordset")
Roy Sinclair is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:35 AM.


Advertisement
Log in to turn off these ads.