redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

Why does AbsolutePosition return as -1?



 
Post new topic   Reply to topic    Web Design Forums -> ASP in depth
View previous topic :: View next topic  
Author Message
Ahmed
Guest




Why does AbsolutePosition return as -1?
  Reply with quote


Guest





This could be because the provider you selected doesn't support AbsolutePosition. But it is more likely that you are not opening the cursor with the correct properties. Make sure you are using a dynaset or snapshot cursor; this means that adOpenForwardOnly should be used in place of adOpenStatic, and the CursorLocation should be set to adUseClient.

Rather than demonstrate with a code sample, I am going to assume you are trying to implement a paging mechanism (e.g. 20 rows per page); please see Article #2120 for some better approaches than using these heavy client-side recordset properties.
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> ASP in depth


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group