Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote Data Access
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00433596
Message ID:
00434584
Views:
29
Barbara,

the time is complete OK if there is an index on that field.

For MS SQL Server there is such a thing as an emulation of a record pointer that can be used to navigate in tables. But the Max()/Min() approach works on all backends.

You might be interessed to take a look at VBs bookmark concept for databases. In conjunction with SQL Server this offers a very fast method to navigate in tables. In addition to the MSDN / KB informations you can start the SQl Server Profiler and navigate through any VB demo table program to see what VB does on the server.


>This should work even on back ends that don't handle Top N, but it would still have the problem of needing to look at all the data above (or below) the drawing_code in question. Which brings me back to worrying about time.


Joerg Karpa
Previous
Reply
Map
View

Click here to load this message in the networking platform