Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USE AGAIN... Is it okay if it's not already in use?
Message
From
17/11/1999 06:34:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00291676
Message ID:
00291814
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform