Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a unique index tag unless empty?
Message
De
28/03/2007 16:15:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01209419
Message ID:
01209428
Vues:
14
>>>Is it possible to create an index tag on a field that would enforce unique entry in the field, unless the entry is blank (no entry)?
>>
>>You can have a candidate index On myfield with NOT EMPTY(myfield) in For clause.
>
>Thank you very much. By the way, I did try it before I posted the question but I missed entering the field name in the EMPTY() expression.

You welcome. Make sure you don't have NULL values in the field.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform