Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with indexes..
Message
De
01/04/2000 18:40:58
 
 
À
01/04/2000 16:29:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00353958
Message ID:
00353981
Vues:
20
>I have a database with several tables, the tables have principal indexes, but when I want to add a record with a key value that exist but is deleted,i can't because the key must be unique.How can I solve this problem ?

Don't recirculate keys is the best solution. AN alternative that gives some partial success is to embed a FOR clause in the index, but recreation of the index can be an issue, it will not be usable for Rushmore optimization, and should you ever try to recall a recirculated key or do not properly regulate reallocation of n out-of-sequence key in recirculation, you invite lots of trouble. You also create problems if you ever move from the native VFP file system, whose concept of records flagged as deleted but still present is not very portable.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform