DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    jarrett Guest

    cannot update cursor?


    The form has buffering set to optimistic. When I try to append blank or
    delete a record I get "Cannot update Cursor". Then the program crashes.

  2. #2
    Alex Feldstein Guest

    Re: cannot update cursor?

    That error generally indicates a Read-Only file
    Is this from a compiled EXE? Have you included a table in the EXE?
    Check your project and make sure all tables (DBFs) are marked excluded.
    Anything "inside" the EXE will be Read-Only by definition.

    Check also that any external table files are not marked R/O in Windows.

    HTH

    Alex Feldstein
    http://www.feldstein.net
    Please respond only to the newsgroups so that all may benefit.



    "jarrett" <cooley222@excite.com> wrote in message
    news:3bf96958$1@147.208.176.211...
    |
    | The form has buffering set to optimistic. When I try to append blank or
    | delete a record I get "Cannot update Cursor". Then the program crashes.


  3. #3
    Toms Ng Guest

    Re: cannot update cursor?


    "jarrett" <cooley222@excite.com> wrote:
    >
    > The form has buffering set to optimistic. When I try to append blank or
    >delete a record I get "Cannot update Cursor". Then the program crashes.



    Cursor that get from select command is not updatable.(except views)
    Sure your cursor is writable (create cursor ... is writable)

    Toms



  4. #4
    Alex Feldstein Guest

    Re: cannot update cursor?

    Now (in VFP 7.0) you have SELECT SQL ... READWRITE

    --


    Alex Feldstein
    http://www.feldstein.net
    Please respond only to the newsgroups so that all may benefit.



    "Toms Ng" <tomsng@sinaman.com> wrote in message
    news:3bfdf37f$1@147.208.176.211...
    |
    | "jarrett" <cooley222@excite.com> wrote:
    | >
    | > The form has buffering set to optimistic. When I try to append blank or
    | >delete a record I get "Cannot update Cursor". Then the program crashes.
    |
    |
    | Cursor that get from select command is not updatable.(except views)
    | Sure your cursor is writable (create cursor ... is writable)
    |
    | Toms
    |
    |


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links