Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Key Field Indexes (indices? ;)...)
Message
De
12/07/1998 23:14:37
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00116656
Message ID:
00116675
Vues:
13
>>Hi all,
>>
>>Ok, a *really* basic question, but I'm curious what you are all doing out there with this one.
>>
>>What type of index do you use with your key fields in tables? My books suggest Primary or Candidate, and I've also tinkered with Unique. I have encountered problems in the past when adding new records with 'key field index uniqueness violated' or some such message and thought it might be caused by the brief moments between when a record is newly created (append blank) and the line of code runs that assigns a new key value to it and plops it into the appropriate field.
>>
>>Am I making any sense? Just curious :).
>>
>Hi Mandy,
>
>In addition to what Barbara has told you you should look in your table for any blank records and get rid of them. It is an existing blnak record that prevents your issuing an APPEND BLANK with Primary/Candidate indices.

Thanks much to both of you! It cleared up that question for me quite nicely :).

>By the way, both spellings of indexes are acceptable :-).

thanks! My spelling is often less than perfect! ;)

Mandy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform