Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Key - MyField AND NOT DELETED( )
Message
De
13/12/1999 10:09:14
Walter Meester
HoogkarspelPays-Bas
 
 
À
13/12/1999 10:03:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00302696
Message ID:
00302704
Vues:
13
John,

You need to fill the "NOT DELETED()" clause in the filter box rather than adding it to your expression clause:

Field Type Expression Filter
myfield Primary myfield .NOT. DELETED()

You might want to add a regular index without the filter clause to speed up performance (rushmore)

Walter,


> I have a table that contains primary key. I get uniqueness error when I try to delete the record and create record with the same primary key. I was told that to have NOT DELETED() in primary key expression. However, i couldn't have the expression working in table designer.. can anybody help??
>My code in expression column
>
>
>Field      Type       Expression
>myfield    Primary    myfield .AND. .NOT. DELETED()
>
>
>
>VFP return expression is valid when I verify it. But I get another error message....
>
>Thank you
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform