Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to 'know' current working area has/or not open table
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00147372
Message ID:
00147728
Views:
42
>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
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform