Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor is read only
Message
 
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:
01150833
Views:
38
>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

How you open this file? For EXCLUSIVE or SHARED use? Can you post the code where it happens?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform