cannot update cursor < > since it is read-only

I am getting this error message at RUNTIME ONLY in startMode = 4. In interactive mode (starMode = 0) everything works fine. This message comes from a secondary form that I use to select email addresses. They are stored in a table with a few fields. I dedicated one of them as a markup field meaning that if that address is selected in a combobox it is marked, the table is updated as TABLEUPDATE (1). I mean, it is supposed to be updated. It is not. Instead I get a series of error messages related to each address selected (main address, CC, BCC, etc).

I do not understand the message because there is no cursor. It is a table. Again, it appears only when I run my prg file. In interative mode I get all the info back in the main form when I open this table in there.

Multilocs are on. All the buffering is done.

SET MULTILOCKS ON

CURSORSETPROP ('Buffering',5,cAlias)

It looks these secondary forms called from the main form are "cursed"--they give me a lot of aggravation. It is hardly possible to communicate with them.

Please help.

Thank you.




Answer this question

cannot update cursor < > since it is read-only

  • Sara Ford MSFT

    Pefect!!!!

    Thanks you, Alex.



  • Dennis Voloshko

    SWAG: is the table (DBF) marked as 'Excluded' in the project If it is not, then it will be compiled inside the EXE rendering the table R/O.
  • danjam

    Thank you.

    Answering your question, it is not marked as "excluded." I carefully made sure that EVERY single table I ever use was included. What you are saying does make sense. I will check it out right away.



  • cannot update cursor < > since it is read-only