The delete button wasn’t where I expected - LOL - thanks… I expected the button to be close to the “add button”…
I still cannot set a column to Not Except Null???
I tested SQL explorer on the sample databases and it worked well. SO it suggested that my table was some what corrupted. How did I fix it? I deleted all the records - that did not work on its own. I copied the table. Deleted the original. Renamed the copy back to its original name. Then the SQL data tab worked. I lost my calculations. Is there a better way of fixing corrupt tables? I hope this doesn’t happen often on live data?
Spending a lot of time NOT developing - hitting issues. I hope I am just being a little unlucky.
There are some restrictions to when you can set a column to null. I did a little test where I could set the column to null:
Create a new table (through the Servoy interface)
Besides the PK which is generated for you add a new column and give it a name
Now you should be able to check Allow Nulls
I have never had corrupted data with postgreSQL. Be careful with making changes to the database outside of Servoy. If you do then do the following (if neccessary):
Right-click the database connection
From the popup menu choose “Reload tables/table structure from DB”
Select the option “Synchronize with DB server information”
If records have been added outside of Servoy also select “Update Servoy Sequences”