Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USE AGAIN... Is it okay if it's not already in use?
Message
De
17/11/1999 06:34:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00291676
Message ID:
00291814
Vues:
20
>If I know an alias is not in use, but not sure whether the table is opened under another alias, is it alright just to "USE myTable AGAIN ALIAS myAlias IN 0". Even if table myTable may not have been used yet? I don't see any problems with it, but I don't want to run into something unexpected.
>
>TIA,
>Marcus.


You could do it. A little addition to Mike and Ed :
Keep in mind that you cannot open it exclusive if already opened shared.

use mytable shared
use mytable again in 0 alias "myAlias" exclusive

Second line doesn't error but simply open the table as shared.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform