title: Cannot update, READ-ONLY - Visual Foxpro
body: <p>This is my code</p>
  
  <pre><code>CURSORSETPROP("Buffering",4) 
  SELECT course
  APPEND BLANK
  replace course.name with thisform.txt_course.value
  </code></pre>
  
  <p>this works fine during the development of the project, however,when i convert the project to .exe file, I cant write to the table and it brings the error</p>
  
  <pre><code>Cannot update the cursor course, since it is read-only
  </code></pre>
  
  <p>I've manage to find for what i thought was the solution which is the code below </p>
  
  <pre><code>CURSORSETPROP("Buffering",4) 
  SELE * FROM course INTO CURSOR cCourse READWRITE
  APPEND BLANK
  replace cCourse.name with thisform.txt_course.value
  </code></pre>
  
  <p>But the problem is that this code does not write to the table. I mean there was no error about being the table read-only, however there are no additional file added/appended to the table "course"</p>
  
  <p>Can anyone lend me a hand here, i have no idea where to find a solution. </p>