Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining maximum number of workareas
Message
From
16/10/2002 11:18:28
 
 
To
16/10/2002 11:09:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00711750
Message ID:
00711758
Views:
13
>I wrote a function that closes all tables in all work areas, except for the ones I pass in a parameter list. I use a for loop:
>
>for i = 1 to 255
>
>
>But I want to know how to test for the maximum number of workareas, depending on the version of foxpro, or whatever other variable determines it, so i can change it to:
>
>for i 1 to lnMaxWorkAreas
>
> I seem to recall that a function or system memory variable exists for this, but I can't seem to find it in the help.
>
>TIA

David,

AUSED() will give you all the tables open in the current data session.

Alan
Previous
Reply
Map
View

Click here to load this message in the networking platform