>>>Hi All,
>>>
>>>I need a means of determining the highest "used" workarea. SELECT(1) returns the highest "unused" area, but there does not seem to be an equivalent to return the highest "used" area.
>>>
>>>Anyone solved this problem?
>>>
>>>thanks,
>>
>>Curious- why would you need this?
>
>Hi Erik,
>
>So I can search for a table that might be already open under another alias. If there is a quicker way to do this besides looping through all the used workareas, I would certainly like to know it.
>
>regards,
lnOpenTables = AUSED(laTables)
FOR EACH cTable IN laTables
?DBF(cTable) && Display the underlying table file name
ENDFOR
Erik Moore
Clientelligence