Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


No it isn't, in the sense that the formatting you specified isn't
applied, but if you configured your database field as DATE, then in Base
that means whatever the locale representation string is, e.g.
"YYYY-MM-DD", so Base doesn't understand when you just type in the year.
 This is why it works when you type in the whole date.

Except isn't that the entire point of the field mask 'YYYY'? To tell the
program that although it is a date field the only portion you will be
receiving as input is the year portion?

I have no answer to that one other than configuring your database field
as INT(4) and using an integer to represent the year as YYYY instead,
but this means that you get only that data in the database, and not the
whole date. I'm pretty certain that this problem has already come up on
the forums (but not necessarily their mailing lists).

You confirm my thinking that setting the field to some other format is the
answer, albeit an unsatisfactory answer. I am not seeing an option for a
4-digit integer in the field definition options so I guess I'll just have to
use a basic numeric format for now.

I can't see this happening in LibO anytime soon, there is a noticeable
and rather worrying dearth of Base developers in the LibO developer's

Well, that's disappointing to hear. Hopefully some of the Base developers
who have remained loyal to the OO project will soon get tired of Oracle and
come over to LO.

Leslie D. Martin

Unsubscribe instructions: E-mail to
List archive:
*** All posts to this list are publicly archived for eternity ***


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.