Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > Forward-only re...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4210 of 4320
Post > Topic >>

Forward-only recordsets

by "JohnnyC" <j@[EMAIL PROTECTED] > Apr 16, 2008 at 04:01 PM

I've got a strange problem with a forward-only recordset.

The front-end is an ASP web.  The backend is a sql2005 database.

In the code, there are sql statements using '*'.  For example "select *
from 
tableA"  The recordset is populated using the connection.execute method. 
i.e. set rs = conn.execute(sql)

When referencing the fields in the recordset, if they are not referenced
in 
the same order as the underlying table, we are getting blanks returned. 
If 
I use explicit field names in the sql call, it doesn't matter the order of

how we read the rs fields.

Is this the way a forward-only RS works when using a '*' clause??

By the way, I would have used a RS.open(source, etc) instead, but there is

so much of this code, we can't change it unless we have to.

Thanks for your time.
 




 3 Posts in Topic:
Forward-only recordsets
"JohnnyC" <j  2008-04-16 16:01:31 
Re: Forward-only recordsets
"Bob Barrows [MVP]&q  2008-04-16 16:18:29 
Re: Forward-only recordsets
"JohnnyC" <j  2008-04-16 20:24:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:59:58 CST 2008.