This seams like a very useful tool. Have a table with a column of the data type TIMESTAMP, and auto fill that field in a form with the unique timestamp of date+time. I’m having a bad time with this little gremlin. Much is due to my newness to LibreOffice. I have searched the web: found https://www.youtube.com/watch?v=OBtxupBSN6A
and this forums: Insert the current date and current time into a new database record? .
The tools > SQL > command to execute >
//fill in transaction timestamp field
ALTER TABLE “DailySales” ALTER COLUMN “transaction” SET DEFAULT CURRENT_TIMESTAMP
executes but I get no auto fill in the form. In fact I can not save the form until I enter something in the field and then the data in the table is bad, e.g. 1800-01-01 01:03:00 .
I am using Version: 5.2.5.1
So here I am…
and thanks in advance
martin