https://bugs.freedesktop.org/show_bug.cgi?id=50478

rob...@familiegrosskopf.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from rob...@familiegrosskopf.de 2012-08-28 19:36:43 UTC ---
There are two different definitions of "default value". You could create one in
the GUI. But it isn't the same as created with SQL in the database.
One example: If you want to have (as default) the current date, then it could
only created by SQL - forms could only define a fixed date.

The default values of the GUI where shown in the GUI and saved, when they are
not changed.

The default values of the SQL-code in the database are not shown before saving
the data in a form. They are shown after saving the data, when the field in the
form has been empty. They have been created at the moment the row has been
saved. So this data could not be shown earlier - especially data for time and
date.

When I write in a date-field not the date of now, but the field is declared as
default = now, then the input in the form is saved correctly in my system
(OpenSuSE 11.4, tested with LO 3.3.4 and LO 3.6.1.2 rc)

In my opinion the expected behaviour "Default values displayed on form" could
be a wished enhancement - but not for date or time. The expected behaviour
"Values entered on form override default values." is, what I can confirm - this
works for me. And this would be a problem, if this doesn't work right.

An attachement with a database, which shows this in the way mabajian86 wrote
could be helpful. I have set the status to "Needinfo"

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to