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 11:44:54
 
 
À
11/12/1997 11:17:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00065270
Message ID:
00065278
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
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform