devxlogo

Not Wanting Table to Remain Read-Only

Not Wanting Table to Remain Read-Only

Question:
I created a command button on the main form. It runs another wizard-generated form that edits a table in the database container. It works in test, but when I compile the executable and run the program I get this: “You can not edit this table, table is read-only”.

Why is that?

Answer:
It sounds like you have included the table in your project. When you do this, the table is built into the EXE as a read-only table.

You can leave the table in the project. Just mark it as excluded:

  1. Go to the Data tab of the project manager.
  2. Find the table and right-click on it.
  3. Choose Exclude.
  4. Rebuild your EXE.

devx-admin

Share the Post: