Apache OpenOffice (AOO) Bugzilla – Issue 68834
pattern field does not work in a grid control
Last modified: 2007-04-18 15:34:34 UTC
1. open the attached bugdoc 2. open the form in the database 3. insert a new record in the grid table ==>> not possible to insert anything in the patternfield in the gridcontrol.
Created attachment 38676 [details] bugdoc
If you open your form and set the property 'Strict Format' to NO for the forrmatted field in the grid you will be able to enter data into it. The edit mask is will not be visible, but this I suppose is a seperate issue.
fixed in CWS dba22b find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fdba22b
note: In the bug doc, the pattern field is bound to a date column, and the masks are setp up as if they it should take a DD.MM.YY date. This is conceptually impossible to work properly: All what the pattern field knows is - it is bound to a date column - it has an edit mask NNLNNLLL it has a literal mask __.__.06 With this information, it cannot decide how to convert a given string into a date, or vice versa. It could guess (but that would be quite some kind of magic already) that the dots are separators, and the __ resp. the 06 should denote day, month, and year. But which one is which? No chance to know this. So, now that this bug is fixed: - You can input data, it displays the edit mask, and it displays the same texts as the normal (non-grid) pattern field. - But it is still *unable* to properly do date<->string conversion, so neither the display of existent dates nor the input of new dates will yield the results you might expect.
*** Issue 61479 has been marked as a duplicate of this issue. ***
fs-> msc: please verify in CWS dba22b
targeting to 2.2, since the fix is part of a CWS aiming for this release
verified in cws dba22b and wrote issue 73237 for the datevalue fault fs mention. find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fdba22b
Was broken in b8990. Checked with 2.2m14 - fixed. Closing.