Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I check if the TAG exist?
Message
De
11/12/1997 12:41:07
 
 
À
11/12/1997 11:44:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00065270
Message ID:
00065314
Vues:
31
>>I want to call...
>>set order to tag sorttemp...
>>I will not know if there is a sorttemp out there.
>>How do I check if the TAG exist?
>
>
>Select Yourtable
>lResult=.f.
>nTags=tagcount()
>IF nTags=0
>    =messagebox("No Tags at All")
>    return
>ENDIF
>For nLoop=1 to nTags
>    IF TAG(nLoop)=="SORTTEMP"
>        lResult=.t.
>        EXIT
>    ENDIF
>Endfor
>IF lResult=.f.
>    =messagebox("Tag not found")
>ELSE
>    =messagebox("Tag found")
>ENDIF
>
thanks Ed - it works great .. :)))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform