Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highest USED workarea
Message
De
07/08/1999 03:44:53
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
06/08/1999 17:20:46
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00250374
Message ID:
00251026
Vues:
27
>James-
>
>If you really need to get at the already open table, you could have a open table registry in your application object where tables are registered as opened when they are opened. But, AUSED is very much the way I would do what you are talking about.
>
>I can think of one contingency you might want to consider: if you are using views, the base tables for views will also be in the AUSED array. Whether that affects your design or not, I don't know.
>
>>So I can search for a table that might be already open under another alias. If there is a quicker way to do this besides looping through all the used workareas, I would certainly like to know it.

Another matter - AUsed() should, AFAIK, give the tables used in the current datasession. Now, let's take this a bit further: how do we determine the highest DataSessionID across all the DataEnvironment objects or Session objects, or just forms with private datasessions without DEs?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform