Home > Cannot Update > Cannot Update The Cursor Visual Foxpro

Cannot Update The Cursor Visual Foxpro

Suggested Solutions Title # Comments Views Activity nssm service installer,how to run as Logon-Allow service to interact with desktop for a specific user 27 55 13d Prevent remote desktop session from It won't update the underlying database table, only the cursor.If you need to update the database you shouldn't use cursors to do this (unless you're using updateable views), but write the CLOSE DATABASES ALL RETURNENDIFSounds like you're trying to update a cursor that is read-only. put "C:\application-import.dbf" "24-import.dbf" quit However, the problem is that once the table is on the server, it becomes read only. his comment is here

RE: error cannot update the cursor, table name is read only OlafDoschke (Programmer) 26 Aug 11 09:15 A setup installs into the program files directory and a normal user has no Or maybe I don't understand the proper way to code this. Here is the general idea... Can you enlighten me on this?

Otherwise, his setup seems to be straight forward. He has Zone Alarm for his firewall and has anti-virus software. By MS Newsgroups in forum ASP Database Replies: 2 Last Post: July 20th, 11:36 AM [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed By Stefan in forum ASP Replies: 1 Last Post: December We have vfp application that runs locally on our client's machine.

You’ll be auto redirected in 1 second. In fact, shared data usually sits on a server or other shared resource, for obvious reasons.Does that help at all?Mike __________________________________Mike Lewis (Edinburgh, Scotland)Visual FoxPro articles, tips, training, consultancy RE: error i excluded my table in my project, unchecked the read only file in the folder of my table but still i get the error...plzzzz help me...i need it to fix to Thanks, Asha +Urgent+ Help + Strange Situation !!

CLOSE DATABASES ALL RETURNENDIFSounds like you're trying to update a cursor that is read-only. 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 Login. BTW, the C:\ root folder is not very safe place for applications and data.

Basically its a login page that checks for a valid user account and then updates some fields if successful. REPLACE LASTONDATE... Nothing is marked as read-only or in use and the databases are set to "exclude". "Invalid Cursor State" binding SQL Text to EditBox Thread ID: 22327 Ken Blum "Invalid Cursor State" You still need to tell Innot to install the data files in the right place, as we have been trying to explain.Mike __________________________________Mike Lewis (Edinburgh, Scotland)Visual FoxPro articles, tips, training, consultancy

should i place to other directory in order my data folder would not be read only? http://fox.wikis.com/wc.dll?Wiki~CannotUpdateTheCursor Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. 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 See http://support.microsoft.com/kb/818528/en-usRegardsBob of Surrey, England ENTIRE THREAD Cannot update the cursor since read-only Posted by Rex Knepp @ 8/20/2013 10:09:28 PM RE: Cannot update the cursor since read-only Posted by Mike

If it appears again then the error is "real" and then you have to record the command and environment for further (distance independent) investigation. http://optimisersonpc.com/cannot-update/foxpro-cannot-update-the-cursor-since-it-is-read-only.html Now when I try to open the table from the VFP project window, I get the error message - 'Not a table'. I may have to appeal to the commercial company supplying the downloads to see if the allocations_payment files can instead Append General TeeChart Activex control problem APPEND GENERAL VFPGRAPH.Olegraph DATA NewGraph Thanks.

we update a cursor from any table, now can we add any additional field in cursor ? i build my main program and run it, it is pretty good. How to make my logo color look the same in Web & Print? weblink Need to change cash to cashier's check without bank account (Just arrived to the US) more hot questions question feed about us tour help blog chat data legal privacy policy work

Under Windows 7 and Vista and some version of XP, the application is always set to be run "as Administrator" to provide access to the C:\ root folder. 0 LVL Did you do that to the actual DBF (as opposed to the folder that contains it)? And Mike also is right, all your forms and other source code is compiled into the exe and does not need to be deploayed at all.Bye, Olaf.

REPLACE LASTONDATE...

You should never assume a cursor is writable unless you explicitly force it to with SELECT ... 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 If the error areintermittent a) Turning SMB2 protocol on either on your server or client. If it is to be shared, it should go somewhere else.

Of course you need to know, where the data was installed, so let INNO perhaps write that directory somewhere you can read in, eg that can be written to program files, The easiest way to do that is with this command:CODESET PATH TO c:\MyData ADDITIVERemember, c:\MyData is just an example. is there any better way. http://optimisersonpc.com/cannot-update/cannot-update-the-cursor-since-it-is-readonly-foxpro.html The time now is 08:11 PM.

Connect with top rated Experts 21 Experts available now in Live! 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 SELECT wait window DBF() *** When you execute the above code 'Wait Window' will show you the exact location of cursor/temporary file in your system. Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free.

{{offlineMessage}} Store Store home Devices Microsoft Surface PCs & tablets Xbox Virtual reality Accessories Windows phone Software Office Windows Additional software Apps All apps Windows apps Windows phone apps Games Xbox 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. c) Antivirus applications. 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

so is the problem with the updating the db after a successful login? 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, Could you post it? put "C:\application\24-import.dbf" "24-import.dbf" quit However, the problem is that once the table is on the server, it becomes read only.

In your Inno script, you have a [Files] section. Join our community for more solutions or to ask questions.

Back to Top