Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I check if the TAG exist?
Message
From
11/12/1997 12:41:07
 
 
To
11/12/1997 11:44:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00065270
Message ID:
00065314
Views:
34
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform