Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of views open in a datasession
Message
De
29/03/2005 10:08:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/03/2005 10:06:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
00999701
Message ID:
00999706
Vues:
27
>>Hey all,
>>
>>is there a way to determine the number of views that are open in a datasession ? And is there a way to know in which work area eacht view is opened ??
>>
>>Greetz,
>>Hans
>
>aused() will create an array of open aliases - but you can't specifically distinguish which ones are tables, and which ones are views. To get this latter information, you may want to investigate with the dbf() function.

Also, if you just want to check whether a specific view is already open, you can the USED() function. Assuming you didn't re-assign the alias.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform