Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In a local view, what data does VFP move across the netw
Message
De
15/02/2000 15:57:56
 
 
À
15/02/2000 13:28:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00330889
Message ID:
00332474
Vues:
22
John,

>Thanks for the reply. Sounds like you have been in the trenches with FoxPro's indexes for a while. I do have indexes to make my views use Rushmore as you suggest. Each of my tables has an integer unique identifier that is also an index key. I've been trying out two different approaches to get the next unique identifer. One technique uses SELECT MAX(UID)... and the other uses a GO BOTTOM... Both approaches run slow across the network. Do you have a proven technique for quickly getting the next unique identifier?

You really should be getting the next unique identifier from another table designed for holding the next id's for each table.

Your current approach *will* eventually fail and cause duplicate id's if you are running in a multi-user situation.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform