Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TagIsUnique() ????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00099305
Message ID:
00099434
Vues:
19
Hi Larry,
What I'm betting you are doing is creating a new tag on a file but want to make sure it does not already exist. TAGS are unique to a table so you could not have two with the same name.

To determine if a tag exists use the TAGNO() function. This is poorly documeented but works like this

Select mytable
If Tagno("LASTNAME") = 0
Index on lastname Tag LastName
Endif


Hope that helps.
Rod
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform