Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote Data Access
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00433596
Message ID:
00434584
Vues:
51
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform