Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbused in other work area
Message
De
13/01/2008 12:17:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
13/01/2008 12:09:17
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 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01281470
Message ID:
01281471
Vues:
7
>Hi
>I want to check if the database open.
>When I used with 'dbused' I get .f. (not open) even when it's open by other user network.
>PS
>There is such command for check if tables exclusive?

Several things can go wrong when opening a table or database - some examples are, file does not exist, network not accesible, used by other users. Therefore, I suggest you use error handling - TRY...CATCH or ON ERROR.
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