Home > Cannot Update > Cannot Update Cursor Vfp

Cannot Update Cursor Vfp

What is the status of the environment when the error occurs? REPLACE LASTONDATE... Here is the general idea... so is the problem with the updating the db after a successful login? Source

Is that advisable?Cursors selected from a FoxPro query can either be read-only or actually return a filtered subset which is writable. The time now is 02:13 PM. {{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 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 https://support.microsoft.com/en-us/kb/294469

Join & Ask a Question Need Help in Real-Time? We have vfp application that runs locally on our client's machine. Registration on or use of this site constitutes acceptance of our Privacy Policy. 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.

Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. Two-headed version of \Rightarrow or \implies How do you jump around the piano? As to why it only happens every so often - that would either be a condition that only gets 'hit' every so often -or more likely- you have multiple entry points Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum!

When do you mean when you said "I choose yes"? 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. Privacy statement Help us improve MSDN. everything's OK EXIT ENDIF ENDFOR ENDIFHope this helps..

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 Geoff Bannoff Re: Cannot update cursor since it is read-only Rick Strahl Chuck 2TB0XRB0Z Dec 10, 2009 @ 03:45pm Reply Depends on what you're doing. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X… Windows 8 Windows 7 Windows OS MS Legacy OS Windows 10 Appearance and 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

Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December 10th,06:30 PM #1 [Microsoft][ODBC Visual FoxPro Driver]Cannot Basically its a login page that checks for a valid user account and then updates some fields if successful. 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

If the error areintermittent a) Turning SMB2 protocol on either on your server or client. this contact form If it appears again then the error is "real" and then you have to record the command and environment for further (distance independent) investigation. 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 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

The bug is reported on a cursor which exists only when the app is running, it is almost always read-only and it does not necessarily create a file on a disk All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. 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. have a peek here The tables are all free-tables and are not included in the project.

so is the problem with the updating the db after a successful login? should i place to other directory in order my data folder would not be read only? you mean sir that i will be placing my project folder in other directories like my document or other drives?

I don't have any other messages to go by.

You should NOT add the forms, menus, etc to the INNO script. 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 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 Taking READWRITE on creates a new cursor and makes the cursor writable.

Instead of having to tell it to look in a data directory below the application directory (which is below Program Files), you have to tell it to look in c:\MyData. Do you have some Error log from your application? 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 http://homeshareware.com/cannot-update/cannot-update-cursor-foxpro.html They generally just exit the application, start it up again and it then runs fine.

Olaf should get the credit, because it was he who suggested that the problem was caused by the data directory being under Program Files. WSUS Windows 7 Windows 8 Windows Server 2012 Windows Server 2008 Make Windows 8 Look Like Earlier Versions of Windows with Classic Shell Video by: Joe Windows 8 comes with a 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. when i run my application, it cannot continue because it searches my database."i choose yes, and i edit the folder name that would be seen in the program file.but the destination

On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack? 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 GeofHello,I am running an older Web Connection ver 4 with several applications that have been running mostly without issue for years except for one problem that happens intermitantly that I don't Or maybe I don't understand the proper way to code this.

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) so is the problem with the updating the db after a successful login? The easiest way to do that is with this command:CODESET PATH TO c:\MyData ADDITIVERemember, c:\MyData is just an example. 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

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.

Back to Top