Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: "Cannot update the cursor" at Build

Status
Not open for further replies.

SleepDepD

Programmer
Mar 13, 2004
65
US
Anyone else ever ran into this?

I'm trying to build my .APP (in VFP 7.0 SP1), with "Recompile All Files"--at the tail-end of the build process I get the error "Cannot update the cursor". Clicking "Help" just gives me "Cannot update the cursor (Error 111)"...not too helpful.

I appreciate the assistance. Thanks
 
WAG - Did you copy your project from a CD or otherwise cause the .pjx to become read only?

Regards,

Mike
 
Ooop...forgot something. My project is in Visual SourceSafe, so most the files in the project are read-only.
 
Sleep,

most the files in the project are read-only.

That would explain it. VFP needs to write the compiled code back to the meta tables, and it can't do that if the files are read-only.

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
You'll probably want to verify the checkout "state" of the changed project files in a ProjectHook before you actually start the build. Check the FAQs - I seem to recall some sample code there.

Rick
 
Okay--resolved: here's what I did.

I took off the read-only flag to all the files in the project. It built fine, then I got latest version for all the files (which reset the read-only flag on the ones it were supposed to have it). It still compiles fine.

I didn't figure out "THE PROBLEM", but at least I fixed it! :) Sometimes that's good enough for me...

Thanks for the help.
 
You don't say how you 'took off the read-only flag' but to do it from SourceSafe you simply right-click on your project from the right hand pane and click on 'Check Out...'. Make sure the recursive tick-box is ticked for any sub projects, and click OK. When complete all files for the project will be writeable.

You then do the same thing again after the build but this time select 'Check in...'.

So what you experienced is 'normal' behaviour in this setup!

Neil

I like work. It fascinates me. I can sit and look at it for hours...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top