Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Know what record I am on
Message
From
14/10/1998 22:15:32
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00145857
Message ID:
00146966
Views:
28
>Hi John...
>
>
>ADO actually has this problem licked.... ADO Recordsets have both a bookmark and an absolute positon property.
>
>In your case, I would suggest using a local view that uses an order by. Then, you can create an index on the field you are actually ordering by - supporting seeks. Now, the record number and the relative position in the table will be in sync.


Thanks for the reply John. Your solution will work but I was looking for a way to do it in code so I didn't have to make special considerations for the views or tables. Craig Berntson has come up with a solution that will fill the bill.

Thanks for the help
Previous
Reply
Map
View

Click here to load this message in the networking platform