Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CANDIDATE() Function??
Message
De
28/12/1999 14:16:51
 
 
À
28/12/1999 12:21:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00309009
Message ID:
00309348
Vues:
35
>>>The tag does indeed show to be be a candidate in the table designer. Yet still get false when giving the candidate command. However, it appears that when I changed the type of tag to candidate, it changed the tag number from 2 to 8. When I issue the CANDIDATE(8) command I get .T. Thanks for the help
>>
>>Yup, changing the type of tag basically recreates the tag. The tag number is the order that the tag was created.
>
>THANKS. One more question...When the tag is set as CANDIDATE, I get an error "Violates Key Uniqueness" when I create a new record in that table. What am I missing regarding the candidate type tags?
>
>jd

Candidate keys enforce uniqueness as do primary keys. the record you are adding contains a value that already exists in the table (remember to check deleted records as well).
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform