SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 25th, 2000, 06:08 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
scrolling a result set

<i><b>Originally posted by : Mike (mlauve@unisrv.com)</b></i><br />My ASP page provides access to an SQLServer database. When I get the result set I can only scroll from the first record to the second or from the first record to last record and back again. There are 18 records in the table(and result set). I'm using a cursor type of dynamic and pessimistic lock. <br /><br />thanks :^)<br />

Reply With Quote
  #2  
Old July 26th, 2000, 08:07 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
<i><b>Originally posted by : Doug Seven (doug.seven@codejunkies.net)</b></i><br /><br /><br />Try doing a Response.Write rs.RecordCount to make sure all 18 records came back.<br /><br />If all of them wer returned try using the rs.Move(2) command to skip a record and see if you can get to it.<br /><br />Unless the connection to the DB is constant, the RS automatically converts to STATIC. you can not have a dynamic RS in a web page, they are disconnected.<br /><br />Doug Seven, MCSD<br />CodeJunkies.Net / ASPNextGen.com<br />doug.seven@codejunkies.net<br /><br />Two new sites are coming, dedicated exclusively to ASP+. Stay tuned for www.ASPNextGen.com and www.theFutureOfASP.com, both brought to you exclusively by CodeJunkies.Net.<br /><br />http://www.codejunkies.net<br />------------<br />Mike at 7/25/2000 3:08:43 PM<br /><br />My ASP page provides access to an SQLServer database. When I get the result set I can only scroll from the first record to the second or from the first record to last record and back again. There are 18 records in the table(and result set). I'm using a cursor type of dynamic and pessimistic lock. <br /><br />thanks :^)<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > scrolling a result set


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT