To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=81607
------- Additional comments from [EMAIL PROTECTED] Wed Oct 24 23:30:03 +0000 2007 ------- Open the attached database, edit table "GUI_Defaults", set or unset default date/times, open the table, add new record, toggle the first field (bool "SET ME"), leave the new record and watch the weird results (see below): Try to (un-)set the defaults: Tools>Sql... ALTER TABLE "GUI_Defaults" ALTER COLUMN "bool" SET DEFAULT 0; ALTER TABLE "GUI_Defaults" ALTER COLUMN "int" SET DEFAULT 2; ALTER TABLE "GUI_Defaults" ALTER COLUMN "string" SET DEFAULT 'bar'; ALTER TABLE "GUI_Defaults" ALTER COLUMN "date" SET DEFAULT CURRENT_DATE; ALTER TABLE "GUI_Defaults" ALTER COLUMN "time" SET DEFAULT CURRENT_TIME; ALTER TABLE "GUI_Defaults" ALTER COLUMN "stamp" SET DEFAULT CURRENT_TIMESTAMP; or respectively ALTER TABLE "GUI_Defaults" ALTER COLUMN "bool" SET DEFAULT NULL; ALTER TABLE "GUI_Defaults" ALTER COLUMN "int" SET DEFAULT NULL; ALTER TABLE "GUI_Defaults" ALTER COLUMN "string" SET DEFAULT NULL; ALTER TABLE "GUI_Defaults" ALTER COLUMN "date" SET DEFAULT NULL; ALTER TABLE "GUI_Defaults" ALTER COLUMN "time" SET DEFAULT NULL; ALTER TABLE "GUI_Defaults" ALTER COLUMN "stamp" SET DEFAULT NULL; The behaviour of the date/times won't change. Notice the date/time fields after setting the defaults: ID SET ME bool int string date time stamp 26 TRUE 2 bar 02/12/2 00:00:00 02/12/2 00:00 after unsetting the defaults: ID SET ME bool int string date time stamp 27 TRUE 02/12/2 00:00:00 02/12/2 00:00 --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
