Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access denied~
Message
From
28/02/2000 17:21:17
 
 
To
28/02/2000 11:01:14
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00338307
Message ID:
00338739
Views:
11
>thx
>i hv try to use "shared" , but the error still come out, is that the problem that i add cursor into the DE ?

If you have EXCLUSIVE set at its default ON, and the table is part of a database (i.e. in a .DBC), then when you issue
USE MyTable IN 0 SHARED
the Database file (.DBC) will still be opened exclusively, so the second attempt to open the table will fail.

You have two options:
1. SET EXCLUSIVE OFF. Note that this is scoped to the current Datasession.

2. Open BOTH the Database and the Table shared:
OPEN DATABASE MyDBC SHARED
USE MyTable IN 0 SHARED
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform