Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in Using USED()
Message
 
 
À
17/10/2001 08:34:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00568793
Message ID:
00569518
Vues:
32
>Hi,
> Don't you think it is a Bug in Foxpro? Because we cannot use USED() properly.
>
>Thanks,

No, it's not a BUG. It's how this function works. You can not just change function's behavior, if it doesn't suit your current needs. However, you may add a wish in Toledo list about something like DBFUSED(), which would tell you, if the particular DBF used anywhere. Also note, that USED() function works in current datasession. This new function may check for the table used in any datasession and may accept three parameters:
DBFUSED("c:\temp\mytable","MyAlias",.f.)

First parameter is required and would tell, which dbf to check. The second optional would tell, which alias we have to check, and the last one would tell, do we want to check all datasessions (default .t.) or only current DS (.f.)

This is just an idea...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform