Home > Cannot Update > Cannot Update The Cursor Since It Is Read-only

Cannot Update The Cursor Since It Is Read-only

The users don't want - and shouldn't have - your project folder. That's OK. Your INNO script should contain only the following:- Your EXE file (which you can place in a directory below Program Files)- The VFP runtime files (which can be in the same The content you requested has been removed. his comment is here

If multi user, you should also think about enabling the user to install your database into a network share to share data with ultiple users in a LAN.If you install the zhed RE: error cannot update the cursor, table name is read only MikeLewis (Programmer) 27 Aug 11 09:12 Zhed,You said " when i use INNO software to compile my vfp project, CLOSE DATABASES ALL RETURNENDIFSounds like you're trying to update a cursor that is read-only. We have a large application written using FoxPro 9 SP2. check my blog

Mimsy were the Borogoves - why is "mimsy" an adjective? Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free. but when i compile it using INNO setup,(during the process of compiling there is no error found) and install and run my application, i met error like cannot update the cursor, Register now while it's still free!

  1. CLOSE DATABASES ALL RETURNENDIFSounds like you're trying to update a cursor that is read-only.
  2. The property is ignored (Error 1584) Error reading file "file" (Error 1104) Error reading the resource (Error 1296) Error saving the OLE object (Error 1422) Error with "name" - "property": "error"
  3. There is however a mistake in the code you posted: The CURSORSETPROP line affects the alias in the current "work area", which could be anyone or even none, unless you would
  4. Olaf should get the credit, because it was he who suggested that the problem was caused by the data directory being under Program Files.

You need to put your data in the user documents folder for example, somwhere, they can write to.Bye, Olaf. Here is the general idea... CLOSE DATABASES ALL RETURNENDIFSounds like you're trying to update a cursor that is read-only. Re: Cannot update cursor since it is read-only Rick Strahl Chuck 2TB0WZGS1 Dec 10, 2009 @ 03:23pm Reply Cursors selected from a FoxPro query can either be read-only

RE: error cannot update the cursor, table name is read only MikeLewis (Programmer) 29 Aug 11 07:04 Zhed,Sorry, I'm getting lost. Cannot find the text generation program (Error 1791) Cannot find the wizard program. To convert it, type MODIFY LABEL file (Error 1510) Invalid key column name "name". (Error 2146) Invalid key length (Error 112) Invalid locale ID. (Error 2026) Invalid operation for offline view https://msdn.microsoft.com/en-us/library/aa975944(v=vs.71).aspx cursor append visual-foxpro share|improve this question edited Feb 10 '15 at 19:31 asked Feb 10 '15 at 17:08 MArio Si Ako 64 add a comment| 1 Answer 1 active oldest votes

Or maybe I don't understand the proper way to code this. Delete the index file and re-create the index (Error 114) Index expression exceeds maximum length (Error 23) Index file does not match table (Error 19) Index or expression does not match Which gets returned is determined by VFP internally based on a number of criteria such as whether the table is already open somewhere else, what the filter condition is etc. REPLACE LASTONDATE...

READWRITE otherwise you can get unpredictable results that work sometimes and fail at others.You need to find where the code is breaking and then backtrace what cursor is the one in click here now If it is to be shared, it should go somewhere else. IOW you ran a SELECT and try to update the resulting cursor.Looks like an application logic problem...+++ Rick ---Hello,I am running an older Web Connection ver 4 with several applications that It could be under My Documents if you like; or Application Data; or directly below the root.The choice will depend in part on who is actually going to use the application

b) Running utility applications such as backup apps while the your VFP application in use. http://optimisersonpc.com/cannot-update/foxpro-cannot-update-the-cursor-since-it-is-read-only.html Cannot find the beautify program. zhed RE: error cannot update the cursor, table name is read only MikeLewis (Programmer) 26 Aug 11 10:15 Zhed,You mentioned the "VFP project folder". You should NOT add the forms, menus, etc to the INNO script.

Source code out of date. You can make part of your files (EXE, runtimes) go into program files, and other parts (data) go into other folders. Yes No Additional feedback? 1500 characters remaining Submit Skip this Thank you! weblink Since I put this bit of logic in we no longer get these errors.- m.cFile is passed as the name of the file to open.

REPLACE LASTONDATE... should i place to other directory in order my data folder would not be read only?" zhed RE: error cannot update the cursor, table name is read only zhed0708 (IS/IT--Management) (OP) Friday, April 05, 2013 3:54 PM Reply | Quote Answerer 0 Sign in to vote How you create RW cursor?

should i place to other directory in order my data folder would not be read only?"I hardly understand what you want to sqay with this.>i choose yesYou choose yes, yes as

Who/What is seeing something in program file?>the destination base folder is in application directory.the destination base for the whole installation or for the data? ENDFOR or DO CASE ... If it doesn't work, it would also help if you could show us the relevant lines from your Inno script.Mike __________________________________Mike Lewis (Edinburgh, Scotland)Visual FoxPro articles, tips, training, consultancy RE: error Table "alias" cannot be opened.

Already a member? If the errors arepermanent a) User might be not providedadequatewindows file/folder access or permission. The best thing is to create a separate directory, either just below the root, or below the user's Application Data folder.You will also need to change your application so that it check over here Preprocessor expression is invalid (Error 1722) PREVIEW clause is not allowed with OFF/NOCONSOLE or TO PRINT/FILE (Error 1681) Primary key already exists (Error 1883) Primary key property is invalid; please validate

Couldn't figure out the reason--but I suspect it has something to do with VSS - the somewhat erratic shadow copy service built into Windows 2003 Server.Our file opening routine checks to Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Re: Cannot update cursor since it is read-only Geoff Bannoff Chuck 2TB0XQVZO Dec 10, 2009 @ 03:44pm Reply Hi ChuckI've seen things like this happen occasionally on our i try to uncheck it but no matter i uncheck it, it will return to a read only..

which should i use in order my data folder doesn't a read only. so is the problem with the updating the db after a successful login? Feature is not available (Error 1001) Feature is not supported for non-.DBC tables (Error 1580) Feature is only available if the object is in design mode (Error 1953) Fetching canceled; remote then ask if "should files in sub folders of "C:\Users\hedz\desktop\system\data" also be included?"i choose yes, and i edit the folder name that would be seen in the program file.but the destination

Did a thief think he could conceal his identity from security cameras by putting lemon juice on his face? Not the answer you're looking for? When the first user closes the file, the "redirector" also closes the file for other users. They generally just exit the application, start it up again and it then runs fine.

Why is looping over find's output bad practice? Join UsClose West Wind Message Board Sign in New Message Search Latest Redo Message List Web Connection Cannot update cursor since it is read-only Cannot update cursor since it is should i place to other directory in order my data folder would not be read only? The cost of switching to electric cars?

When do you mean when you said "I choose yes"? That is the only update to the users table that happens in the page...SELECT USERSLOCATE FOR LOGIN = lcUserNameIF FOUND() (Check password, etc)CLOSE DATABASES ALLENDIFIF (All tests above passed) (Set A IOW you ran a SELECT and try to update the resulting cursor.Looks like an application logic problem...+++ Rick ---Hello,I am running an older Web Connection ver 4 with several applications that

Back to Top