Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor is read only
Message
From
05/09/2006 04:24:18
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
05/09/2006 04:09:20
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01150831
Message ID:
01150836
Views:
36
This message has been marked as a message which has helped to the initial question of the thread.
Hi,
What is the TABLEVALIDATE setting, is the table header locked for an update and the process just needs to retry. Put the process within a TRY...ENDTRY and see what happens.

>Sometimes, i still cannot guess when it happens, i get the error 111 :
>"Cannot update the cursor LOG, since it is read-only." for the file LOG, I used the routine Serghey suggested me to retrieve who and how use files and as result, for that file I got this report :
>
>---------------------------------------
>File name: E:\pontinia\dati\Log.dbf
>Locks: 0
>User:FELICE
>Permissions: - Read - Write - ChangeAttributes
>ID for NetFileGetInfo() : 726884
>---------------------------------------
>File name: E:\pontinia\dati\Log.CDX
>Locks: 0
>User:FELICE
>Permissions: - Read
>ID for NetFileGetInfo() : 726886
>---------------------------------------
>The routine which causes the error is always the same and I cannot realize why this error occurs. The procedure which causes the errors is related to a timer event and is launch every 30 seconds, the error occurs once a day maybe twice...
>Any ideas ?
>Alessio
Regards N Mc Donald
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform