Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a free table
Message
 
 
À
18/05/2006 10:26:58
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01122199
Message ID:
01123212
Vues:
21
>Do you think that will help? I sure can try that. I wasn't aware of the ALIAS command.

Yes, there is a little problem. If you have table open in shared mode and then try to open it again exclusive it would not give you any errors, but would remain opened in shared mode. So, you should always do
use in select('MyTable')
try
    use MyTable in 0 alias MyTable exclusive
catch to loErr
endtry
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