Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help - My DBC has become read only
Message
From
28/07/2003 07:41:47
 
 
To
28/07/2003 07:27:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00814005
Message ID:
00814021
Views:
11
Sorry Neil

I seem to be having one of those days


>Dohhh
>
>Neil Mark whoops
>
>>Thanks Cetin
>>
>>
>>I tried close data all but still get the same problem.
>>
>>I think the DBC must have been corrupt. Do you know a quick way of generating a new DBC from on old one
>>
>>
>>
>>
>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform