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.
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist