Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CANDIDATE() Function??
Message
De
27/12/1999 19:52:11
 
 
À
27/12/1999 19:19:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00309009
Message ID:
00309018
Vues:
25
>I have a free table with several index tags in a cdx. I have run a dedup routine to make sure that the ID field does not contain any NULL or DUPLICATE values. Yet when I issue the command ? CANDIDATE(2), I get .F. Tag 2 is the id TAG, and that field has no NULL OR DUPLICATE values. I went in and set up that field as a candidate field and ran the same ? CANDIDATE(2) command and got the same results. I must not understand the CANDIDATE() function. Help.
>
>Thanks in advance...
>
>
>John Dennis

Candidate() function just tells what kind of tag you have, i.e. if you created candidate tag (in table designer) then this function will return true for this tag. If you omit parameter, then you will check type of current tag. If you use parameter (2 in your case) then you should use this function together with TAG() function to ensure proper tag selection.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform