redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Friday 14 December 2018 01:28

Ask your IT question here

Why does AbsolutePosition return as -1?



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> ASP in depth
View previous topic :: View next topic  
Author Message
Ahmed
Guest Programmer




Why does AbsolutePosition return as -1?
Reply with quote
 
Guest Programmer





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
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> ASP in depth


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

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

© 2018 RedHo