General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only