Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement