Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleted key in database prevents APPEND
Message
De
15/10/2002 01:17:30
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
14/10/2002 16:37:20
William Sherman
Allegheny County Bar Association
Elizabeth, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00711113
Message ID:
00711212
Vues:
9
>I have a database in a pricing app. SET DELETED is ON. There are various child records in three related files to the the primary key file in file Primex. When a record is deleted in file Primex and then a subsequent APPEND BLANK is used to append a new record I get the message 'Uniqueness of index file is violated'...how should I handle this ? Packing is a problem in the shared multiuser environment.
>Appreciate any help...Thanks,

My personal preference is to not reuse primary keys for this reason, but it's doable.

You can put a !DELETED() filter on your primary key index.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform