Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help - My DBC has become read only
Message
De
28/07/2003 06:23:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/07/2003 05:57:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00814005
Message ID:
00814009
Vues:
11
>I have a DBC with some views in it.
>
>For some reason this DBC is baving like it is read only.
>
>I have checked the attributes of the files and non of the files area marked readonly.
>
>The bahaviour seems to be as if I had opened the DBC using the NOUPDATE clause
>but I am using .
>
>OPEN DATABASE C:\AWORK\DATAPROT\VFP\Dataprot1.dbc EXCLUSIVE
>
>MODI DATABASE
>
>Does anyone have any iodea whats is going on and how I can get out of it.

Mark,
It might be already opened shared. Then though including 'EXCLUSIVE' doesn't error but doesn't open exclusive.

ie:
set exclusive off
use customer && This causes testdata.dbc be opened
open data testdata.dbc exclusive && Already open - behaves as if it was
* set data to testdata.dbc

Do it like this :
close data all
open data testdata exclusive

PS: Close data all doesn't close in all sessions under all versions (ie: a form with a private session using one of the tables from that database and VFP7). I assume you have no forms up (or seesion objects).
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