Off-topic Talk Where overpaid, underworked S2000 owners waste the worst part of their days before the drive home. This forum is for general chit chat and discussions not covered by the other off-topic forums.

Nonprogrammer needs some programming help! (ASP)

Thread Tools
 
Old Feb 12, 2002 | 08:45 AM
  #1  
saliv8's Avatar
Thread Starter
Registered User
20 Year Member
 
Joined: Oct 2000
Posts: 390
Likes: 2
From: Knoxville
Default Nonprogrammer needs some programming help! (ASP)

I am trying create a recordset from a recordset I have opened. I keep getting a 0x800A0BB9 error. Anyone know what could be wrong?


Set Rs1 = blah
Reply
Old Feb 12, 2002 | 08:52 AM
  #2  
stooxie's Avatar
Registered User
 
Joined: Jun 2001
Posts: 91
Likes: 0
From: Fairfax
Default

Use Java...
Reply
Old Feb 12, 2002 | 08:54 AM
  #3  
saliv8's Avatar
Thread Starter
Registered User
20 Year Member
 
Joined: Oct 2000
Posts: 390
Likes: 2
From: Knoxville
Default

Thanks for your helpful insight...

If you read the subject you would understand I am not a programmer. I know enough to be dangerous and certainly don't know crap about coffee related technologies.
Reply
Old Feb 12, 2002 | 09:52 PM
  #4  
flava's Avatar
Registered User
 
Joined: Jan 2001
Posts: 91
Likes: 0
From: Austin
Default

I don't know the answer, but try searching for the error message on groups.google.com

it's amazing sometimes
Reply
Old Feb 12, 2002 | 09:56 PM
  #5  
jzr's Avatar
jzr
Registered User
20 Year Member
 
Joined: Dec 2000
Posts: 1,821
Likes: 0
From: San Diego
Default

I don't think it likes having Rs1 as the data source for Rs2. What are you trying to do really? Do you just want Rs2 to be a subset of the records from Rs1? Just change the query that defines Rs2...unless I'm missing something?
Reply
Old Feb 12, 2002 | 11:45 PM
  #6  
Schatten's Avatar
Registered User
20 Year Member
 
Joined: Oct 2000
Posts: 6,936
Likes: 2
From: Austin
Default

do you use ICQ/AIM/Yahoo by chance? If so, PM me and tell me how to get in touch with you.

First of all, try 'remming' (remarking/marking out) the RS2 lines to make sure all works with RS1 and then doing response.writes with the RS1's records that return.

For example

Set RS1 blah blah
more blah blah
more blah blah

'Set RS2 blah blah <--- notice the remarks on these lines
'more blah blah <--- these marks at the first of the line are
'more blah blah <--- single quotes which tell vbscript NOT to read the line

next, response write the rs1 in the HTML by doing the following:

<%=rs1(0)%> <-- writes out the FIRST returned record from the SQL statement
<%=rs1(1)%> <--- writes out the second returned record from the SQL statement

(Only do one at a time in case something is set where you are only returning one column/record in the recordset.

But again, PM me if you are still up.

Thanks.
Reply
Old Feb 13, 2002 | 03:58 AM
  #7  
saliv8's Avatar
Thread Starter
Registered User
20 Year Member
 
Joined: Oct 2000
Posts: 390
Likes: 2
From: Knoxville
Default

ASP doesn't let you use a recordset as a connection. I can't use filters because it's an access db. Now I am trying to do it in one big select. Thanks for the input.
Reply
Old Feb 13, 2002 | 11:56 AM
  #8  
edasaurus's Avatar
Registered User
20 Year Member
 
Joined: Oct 2000
Posts: 293
Likes: 0
From: Culver City
Default

[QUOTE]Originally posted by saliv8
[B]I am trying create a recordset from a recordset I have opened.
Reply
Old Feb 13, 2002 | 12:07 PM
  #9  
silversonic's Avatar
Registered User
 
Joined: Aug 2001
Posts: 140
Likes: 0
From: Bay Area
Default

go here for your ans:

http://www.4guysfromrolla.com/webtech/083101-1.shtml

also create virtual directory iisHelp to generate the explanation for the error code
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
The Raptor
The Corner
10
Apr 26, 2012 11:04 AM
The Raptor
The Corner
7
Jan 8, 2006 06:04 PM
saliv8
Off-topic Talk
3
Feb 15, 2001 09:15 AM




All times are GMT -8. The time now is 06:25 PM.