Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a fast way to go to an absolute index position...
Message
From
21/06/2004 14:02:05
 
 
To
20/06/2004 13:25:11
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00915480
Message ID:
00915738
Views:
12
I knew somebody would ask for a reason -- I just didn't feel like typing it... :D

I have a slider at the bottom of the window that allows rapid navigation -- it works great and people love it. Let's assume that there are 500,000 records in the table. I set the slider max to 500,000. When they move the slider around, it returns a value, say, 150,000.

I then GO TOP, skip 149,000, and I am there. The slider is independent of the index order, so I have nothing to seek on. It is a physical identifier of where you are in the table. Again, it is very fast once you've "skipped" the entire table once.

Make sense?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform