General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only