Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open table excl
Message
From
18/09/2003 11:50:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
18/09/2003 11:26:50
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00830273
Message ID:
00830350
Views:
25
>Why the following will not work?
>
>------------------
>USE NetWorkTable IN 0 EXCLUSIVE ALIAS MyTable
>
>&& if previous command failed - to avoid the error with ISEXCLUSIVE()
>IF USED(MyTable)
> IF ISEXCLUSIVE(MyTable)
> && table opened exclusive
> ELSE
> && table opened shared
> ENDIF
>ELSE
> && table NOT opened
>ENDIF
>-----------------
USE NetWorkTable IN 0 ALIAS OtherTable

if used('myTable')
 if isexclusive('mytable')
*...
Or

USE NetWorkTable IN 0 EXCLUSIVE ALIAS MyTable

was done in another private datasession.

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