>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