>many command such as skip, afields(), need current working area.
>
>but how can I know the area is exist table/view/cursor or nothing at all.
Justok,
If you want to find the correct area for a file, use Select('MyTable')
IF select('MyTable') = 0
USE Mytable
ENDIF
SELECT MyTable
Now you know you're in the right area.
HTH
Barbara