Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question

Status
Not open for further replies.

tforr

Programmer
Aug 14, 2003
181
GB
how do you determine whether or not an alias is in use

regards,

Thomas
 
have you try USED ?

select mytable
? used('mytable') && this display .T.

well, now you can use:
myalias=alias()
if used('myalias')
wait window "is used"
endif
 
a little error in code above

if used('&myalias')

*or

if used(myalias)

*not

if used('myalias')

..................
endif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top