To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=78987 Issue #|78987 Summary|Can't insert records with NOT NULL fields with DEFAULT | values Component|Database access Version|OOo 2.2.1 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|jbu Reported by|eeka1234
------- Additional comments from [EMAIL PROTECTED] Fri Jun 29 01:29:21 +0000 2007 ------- I have a field in PostgreSQL 8.2 of the type timestamptz with a Default Value of now() I also have the field set to NOT NULL This is the exact defintion: creation_timestamp timestamp with time zone NOT NULL DEFAULT now(), I cannot create a form that will allow me to succesfully insert a record. I get this message: Error writing data to database Input required in field "creation_timestamp". Please enter a value. I have experimented setting the control to Read-Only: Yes and Empty string is NULL: Yes, but I still get the error. If I remove the NOT NULL from the field's table definition, I can insert records as desired and the field is populated with now() on the server... but I would prefer to be able to keep the NOT NULL constraint. --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]